UNPKG

@vlinderclimate/net-zero-ui

Version:

<div align="center"> <img src="https://storage.yandexcloud.net/static.vlinderstorage.com/Telegram_VlinderTech.png" width=200 /> </div> <h1 align="center">Net Zero UI kit</h1>

16 lines (15 loc) 1.03 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", "h3Medium", "h3Bold", "h4", "h5", "h6", "heroParagraph", "heroParagraphBold", "heroParagraphMedium", "caption", "captionMedium", "captionBold", "button1", "button2", "button3", "button4", "description", "descriptionBold", "callout", "calloutBold", "supporting", "supportingUppercase"]; 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;