mui-simple
Version:
Override mui-v7 components to simplify usage
32 lines • 1.1 kB
TypeScript
import type { ComponentType } from 'react';
import type { TypographyProps, BoxProps } from '@mui/material';
interface TypographyBorderProps {
autoWidth?: boolean;
border?: boolean | string;
noWrap?: boolean;
rows?: number;
width?: string | number;
[key: string]: any;
}
type TypographyBorderPropsType = Omit<BoxProps, 'border'> & TypographyBorderProps;
export declare const Border: ComponentType<TypographyBorderPropsType>;
interface TypographyStyledProps {
bgColor?: string;
bold?: boolean | string;
charsCase?: string;
customColor?: string;
fontSize?: number | string;
italic?: boolean;
lineHeight?: string | number;
monospace?: boolean;
myClassName?: string | string[];
strike?: boolean;
sub?: boolean;
sup?: boolean;
underline?: boolean;
[key: string]: any;
}
type TypographyStyledPropsType = Omit<TypographyProps, 'fontSize' | 'align' | 'border' | 'component'> & TypographyStyledProps;
export declare const Typography: ComponentType<TypographyStyledPropsType>;
export {};
//# sourceMappingURL=Typography.styled.d.ts.map