mirror of
https://github.com/SomboChea/ui
synced 2024-06-16 08:29:41 +07:00
a8deeb9b9d
* refactor: introduced forwardref * refacttor: updated ref's * fix: fixed func's name * fix: fixed snapshots * fix: updated snap
35 lines
802 B
TypeScript
35 lines
802 B
TypeScript
import styled from 'react-emotion';
|
|
import { default as MuiFab } from '@material-ui/core/Fab';
|
|
import Chip from '@material-ui/core/Chip';
|
|
|
|
import colors from '../../utils/styles/colors';
|
|
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 DistListItem = styled(ListItem)({
|
|
'&&': {
|
|
paddingLeft: 0,
|
|
paddingRight: 0,
|
|
},
|
|
});
|
|
|
|
export const DistChips = styled(Chip)({
|
|
'&&': {
|
|
marginRight: '5px',
|
|
textTransform: 'capitalize',
|
|
},
|
|
});
|
|
|
|
export const DownloadButton = styled(MuiFab)({
|
|
'&&': {
|
|
backgroundColor: colors.primary,
|
|
color: colors.white,
|
|
},
|
|
});
|