UNPKG

395 BTypeScriptView Raw
1import { Breakpoint } from '@mui/system';
2import { Typography } from './createTypography';
3
4export interface ResponsiveFontSizesOptions {
5 breakpoints?: Breakpoint[];
6 disableAlign?: boolean;
7 factor?: number;
8 variants?: Array<keyof Typography>;
9}
10
11export default function responsiveFontSizes<T extends { typography: Typography }>(
12 theme: T,
13 options?: ResponsiveFontSizesOptions,
14): T;