mirror of
https://github.com/SomboChea/ui
synced 2024-09-29 21:07:47 +07:00
a8deeb9b9d
* refactor: introduced forwardref * refacttor: updated ref's * fix: fixed func's name * fix: fixed snapshots * fix: updated snap
28 lines
614 B
TypeScript
28 lines
614 B
TypeScript
import styled from 'react-emotion';
|
|
import ListItemText from '@material-ui/core/ListItemText';
|
|
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
import ListItem from '../../muiComponents/ListItem';
|
|
import Text from '../../muiComponents/Text';
|
|
|
|
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,
|
|
},
|
|
});
|