nice-ui
Version:
React design system, components, and utilities
17 lines (16 loc) • 479 B
TypeScript
import * as React from 'react';
import { EditorControls } from './types';
export interface Props {
className?: string;
fontSize?: number;
placeholder?: string;
lineHeight?: number;
showAllLines?: boolean;
minLines?: number;
disabled?: boolean;
onChange?: (controls: EditorControls) => void;
onControls?: (controls: EditorControls) => void;
onFocus?: () => void;
onBlur?: () => void;
}
export declare const TextEditor: React.FC<Props>;