UNPKG

@teravn/onui

Version:

The React UI component library is based on MUI

23 lines (22 loc) 503 B
import { TypographyProps } from '@mui/material'; import React from 'react'; declare enum TextSize { xxs = "xxs", xs = "xs", sm = "sm", md = "md", lg = "lg", xl = "xl" } declare enum TextWeight { regular = "regular", medium = "medium", semibold = "semibold", bold = "bold" } export interface Props extends TypographyProps { size?: keyof typeof TextSize; fontWeight?: keyof typeof TextWeight; } declare const OnText: React.FC<Props>; export default OnText;