sate-lib
Version:
A lightweight and modular React component library designed for modern web interfaces. **SATE Lib** powers the [sate.menu](https://sate.menu) platform with reusable, scalable, and themeable UI components.
11 lines • 848 B
TypeScript
import type { HTMLAttributes, ReactNode } from "react";
export type Variant = "displayLarge" | "displayMedium" | "displaySmall" | "titleScreen" | "titleSection" | "titleSubsection" | "titleBody" | "titleGroup" | "bodyXLargeEmphasis" | "bodyXLarge" | "bodyLargeEmphasis" | "bodyLarge" | "bodyDefaultEmphasis" | "bodyDefault" | "bodySmallEmphasis" | "bodySmall" | "linkLarge" | "linkDefault" | "linkSmall";
export interface TypographyProps extends HTMLAttributes<HTMLParagraphElement> {
className?: string;
children?: ReactNode;
as?: "p" | "span" | "h1" | "h2" | "h3" | "h4";
variant?: Variant;
palette?: "dark" | "light" | "grey";
}
export declare const Typography: ({ as: Tag, variant, className, palette, children, ...rest }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=typography.d.ts.map