cornell-glue-ui
Version:
Glue UI is Cornell WebDev's centralized UI component library. It implements our design system and serves as a single source of truth for React components used within our projects.
21 lines (20 loc) • 786 B
TypeScript
import React from 'react';
interface TextProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement> {
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'meta1' | 'meta2';
children?: React.ReactNode;
maxLines?: number;
fontWeight?: number | string;
color?: string;
textAlign?: 'start' | 'end' | 'center';
}
export declare const Text: ({ variant, children, ...rest }: TextProps) => JSX.Element;
export declare const H1: any;
export declare const H2: any;
export declare const H3: any;
export declare const H4: any;
export declare const H5: any;
export declare const H6: any;
export declare const P: any;
export declare const Meta1: any;
export declare const Meta2: any;
export default Text;