mirror of
https://github.com/SomboChea/ui
synced 2024-05-20 18:31:37 +07:00
27 lines
639 B
TypeScript
27 lines
639 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import Text from '../../muiComponents/Text';
|
|
import Card from '../../muiComponents/Card';
|
|
import Chip from '../../muiComponents/Chip';
|
|
import { Theme } from '../../design-tokens/theme';
|
|
|
|
export const CardWrap = styled(Card)({
|
|
margin: '0 0 16px',
|
|
});
|
|
|
|
export const StyledText = styled(Text)<{ theme?: Theme }>(props => ({
|
|
fontWeight: props.theme && props.theme.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',
|
|
});
|