@teravn/onui
Version:
The React UI component library is based on MUI
23 lines (22 loc) • 521 B
TypeScript
import React from 'react';
import { TypographyProps } from '@mui/material';
declare enum DisplaySize {
xs = "xs",
sm = "sm",
md = "md",
lg = "lg",
xl = "xl",
xxl = "xxl"
}
declare enum DisplayWeight {
regular = "regular",
medium = "medium",
semibold = "semibold",
bold = "bold"
}
export interface Props extends TypographyProps {
size?: keyof typeof DisplaySize;
fontWeight?: keyof typeof DisplayWeight;
}
declare const OnDisplay: React.FC<Props>;
export default OnDisplay;