@up-group-ui/react-controls
Version:
Up shared react controls
17 lines (16 loc) • 519 B
TypeScript
import { WithThemeProps } from '../../../Common/theming/withTheme';
export declare type WidthSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'fill';
export interface UpRichTextProps extends WithThemeProps {
width?: WidthSize;
defaultValue?: string;
placeholder?: string;
disabled?: boolean;
showError?: boolean;
configRTE?: any;
value?: string;
hasError?: boolean;
isRequired?: boolean;
className?: string;
dataFor?: string;
onChange?: (data: any) => void;
}