UNPKG

@stakefish/ui

Version:

<div align="center"> <a href="https://www.npmjs.com/package/@stakefish/ui"><img src="https://gateway.pinata.cloud/ipfs/QmbZL1ceA8Yiz2pKALTg919jYx141DPUGegC9L4XpyayW5" width="300" /></a> </div>

16 lines (15 loc) 1.11 kB
import React from "react"; import { TypographyProps as MuiTypographyProps } from "@mui/material/Typography"; import { ReadingColorVariant } from "../theme/colors"; export declare const TypographyVariants: readonly ["hero", "h1", "h2", "h3", "h4", "h5", "h6", "heroParagraph", "title1", "title2", "title3", "title4", "title5", "button1", "button2", "button3", "button4", "supporting", "supportingBold", "subtitle1", "subtitle1Bold", "subtitle2", "subtitle2Bold", "subtitle3", "subtitle3Bold", "subtitle4", "subtitle4Bold", "description", "descriptionBold", "callout", "calloutBold", "caption", "captionBold"]; declare type TypographyVariant = typeof TypographyVariants[number]; export interface TypographyProps extends Omit<MuiTypographyProps, "color" | "variant"> { noWrap?: boolean; display?: "initial" | "block" | "inline"; component?: React.ElementType; dangerouslySetInnerHTML?: MuiTypographyProps["dangerouslySetInnerHTML"]; variant: TypographyVariant; color?: ReadingColorVariant; } declare const Typography: React.FC<TypographyProps>; export default Typography;