@dossierhq/design
Version:
The design system for Dossier.
16 lines (15 loc) • 630 B
TypeScript
import type { CSSProperties, JSX, ReactNode } from 'react';
import { type Color } from '../../config/Colors.js';
import { type MarginProps } from '../../utils/LayoutPropsUtils.js';
import { type TextStyle } from '../../utils/TextStylePropsUtils.js';
interface TextProps extends MarginProps {
as?: 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
id?: string;
textStyle: TextStyle;
className?: string;
color?: Color;
style?: CSSProperties;
children: ReactNode;
}
export declare function Text({ as, id, className, textStyle, color, style, children, ...props }: TextProps): JSX.Element;
export {};