mirror of
https://github.com/SomboChea/ui
synced 2024-06-01 17:15:06 +07:00
b56e43846b
* 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
27 lines
584 B
TypeScript
27 lines
584 B
TypeScript
import styled from 'react-emotion';
|
|
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
import Text from '../../muiComponents/Text';
|
|
import Card from '../../muiComponents/Card';
|
|
import Chip from '../../muiComponents/Chip';
|
|
|
|
export const CardWrap = styled(Card)({
|
|
margin: '0 0 16px',
|
|
});
|
|
|
|
export const StyledText = styled(Text)({
|
|
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',
|
|
});
|