UNPKG

@violetprotocol/nudge-components

Version:

Components for Nudge's websites and applications.

18 lines (17 loc) 642 B
/// <reference types="react" /> import { TypographyProps as TypographyMaterialProps } from "@material-tailwind/react"; import { TypographyVariant } from "./types"; import "./Typography.css"; declare enum Breakpoint { SM = "sm", MD = "md", LG = "lg", XL = "xl", XL2 = "2xl" } interface TypographyProps extends Omit<TypographyMaterialProps, "variant"> { variant?: TypographyVariant; breakpointVariants?: Partial<Record<Breakpoint, TypographyVariant>>; } export declare const Typography: import("react").ForwardRefExoticComponent<Omit<TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement>>; export {};