mirror of
https://github.com/SomboChea/ui
synced 2024-09-29 21:07:47 +07:00
34 lines
668 B
TypeScript
34 lines
668 B
TypeScript
import styled from 'react-emotion';
|
|
import Card from '@material-ui/core/Card';
|
|
import Typography from '@material-ui/core/Typography';
|
|
import Chip from '@material-ui/core/Chip';
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
|
|
export const CardWrap = styled(Card)({
|
|
'&&': {
|
|
margin: '0 0 16px',
|
|
},
|
|
});
|
|
|
|
export const Heading = styled(Typography)({
|
|
'&&': {
|
|
fontWeight: fontWeight.bold,
|
|
textTransform: 'capitalize',
|
|
},
|
|
});
|
|
|
|
export const Tags = styled('div')({
|
|
'&&': {
|
|
display: 'flex',
|
|
justifyContent: 'start',
|
|
flexWrap: 'wrap',
|
|
margin: '0 -5px',
|
|
},
|
|
});
|
|
|
|
export const Tag = styled(Chip)({
|
|
'&&': {
|
|
margin: '5px',
|
|
},
|
|
});
|