mirror of
https://github.com/SomboChea/ui
synced 2024-06-16 00:19:42 +07:00
* refactor(162): added forwardRef Card * refactor(162): introduced forwardRefDivider * refactor(162): introduced forwardRef MuiComponents * refactor(162): introducing forwardRef * refactor(162): introduced forwardRef * refactor(162): introduced forwardRef * fix(162): fixed link * fix: fixed port number * fix: fixed duplicated id * fix: fixed ref iconbutton * fix: updated snaps * fix: fixed port * fix: fixed eslint errors * fix: the item should be a button * fix: fixed eslint errors
24 lines
578 B
TypeScript
24 lines
578 B
TypeScript
import styled from 'react-emotion';
|
|
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
import ListItem from '../../muiComponents/ListItem';
|
|
import Text from '../../muiComponents/Text';
|
|
import ListItemText from '../../muiComponents/ListItemText';
|
|
|
|
export const StyledText = styled(Text)({
|
|
fontWeight: fontWeight.bold,
|
|
textTransform: 'capitalize',
|
|
});
|
|
|
|
export const AuthorListItem = styled(ListItem)({
|
|
padding: 0,
|
|
':hover': {
|
|
backgroundColor: 'transparent',
|
|
},
|
|
});
|
|
|
|
export const AuthorListItemText = styled(ListItemText)({
|
|
padding: '0 10px',
|
|
margin: 0,
|
|
});
|