notion-design-system
Version:
A comprehensive Notion-inspired design system built with React, TypeScript, and Tailwind CSS
12 lines (11 loc) • 448 B
TypeScript
import React from 'react';
import { BaseComponentProps, TypographyVariant, ColorVariant } from '../../types';
export interface TypographyProps extends BaseComponentProps {
variant?: TypographyVariant;
color?: ColorVariant;
weight?: 'normal' | 'medium' | 'semibold' | 'bold';
align?: 'left' | 'center' | 'right';
as?: keyof JSX.IntrinsicElements;
}
declare const Typography: React.FC<TypographyProps>;
export default Typography;