mirror of
https://github.com/SomboChea/ui
synced 2024-06-16 00:19:42 +07:00
* 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
29 lines
779 B
TypeScript
29 lines
779 B
TypeScript
import styled from 'react-emotion';
|
|
|
|
import colors from '../../utils/styles/colors';
|
|
import { fontWeight } from '../../utils/styles/sizes';
|
|
import ListItem from '../../muiComponents/ListItem';
|
|
import Text from '../../muiComponents/Text';
|
|
import FloatingActionButton from '../../muiComponents/FloatingActionButton';
|
|
import Chip from '../../muiComponents/Chip';
|
|
|
|
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(FloatingActionButton)({
|
|
backgroundColor: colors.primary,
|
|
color: colors.white,
|
|
});
|