@chatui/core
Version:
The React library for Chatbot UI
11 lines (10 loc) • 321 B
TypeScript
import React from 'react';
export interface TextProps {
className?: string;
as?: React.ElementType;
align?: 'left' | 'center' | 'right' | 'justify';
breakWord?: boolean;
truncate?: boolean | number;
children?: React.ReactNode;
}
export declare const Text: (props: TextProps) => React.JSX.Element;