react-lightning-design-system
Version:
Salesforce Lightning Design System components built with React
17 lines (16 loc) • 400 B
TypeScript
import { FC, ReactHTML, HTMLAttributes } from 'react';
/**
*
*/
export type TextProps = {
tag?: keyof ReactHTML;
category?: 'body' | 'heading' | 'title';
type?: 'small' | 'regular' | 'medium' | 'large' | 'caps';
align?: 'left' | 'center' | 'right';
truncate?: boolean;
section?: boolean;
} & HTMLAttributes<HTMLElement>;
/**
*
*/
export declare const Text: FC<TextProps>;