mirror of
https://github.com/SomboChea/ui
synced 2024-06-18 17:29:43 +07:00
* refactor: added eslint-plugin-import * refactor: disable some rules for muiComponents * fix: fixed import
29 lines
643 B
TypeScript
29 lines
643 B
TypeScript
import styled from 'react-emotion';
|
|
import ListItem from '@material-ui/core/ListItem';
|
|
import Typography from '@material-ui/core/Typography';
|
|
import ListItemText from '@material-ui/core/ListItemText';
|
|
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
|
|
export const Heading = styled(Typography)({
|
|
'&&': {
|
|
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,
|
|
},
|
|
});
|