@totalsoft/rocket-ui
Version:
A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.
9 lines • 410 B
JavaScript
import BaseTypography from '@mui/material/Typography';
import { styled } from '@mui/material/styles';
import { includes } from 'ramda';
const Typography = styled(BaseTypography)(({ theme, variant }) => ({
fontFamily: theme.typography.fontFamily,
textTransform: includes(variant, ['overline', 'button']) ? 'uppercase' : 'none'
}));
export default Typography;
//# sourceMappingURL=TypographyStyles.js.map