@university-ecosystem/ui-kit
Version:
University ecosystem ui-kit
27 lines (26 loc) • 554 B
TypeScript
/// <reference types="react" />
export declare const TextVariants: {
h1: string;
h2: string;
h3: string;
h4: string;
h5: string;
h6: string;
body1: string;
body2: string;
};
export declare const TextColors: {
error: string;
primary: string;
secondary: string;
base: string;
description: string;
inherit: string;
};
export interface TextProps {
variant: keyof typeof TextVariants;
color?: keyof typeof TextColors;
textAlign?: string;
children: React.ReactNode;
bold?: boolean;
}