UNPKG

@brizy/ui

Version:
14 lines (13 loc) 391 B
import { ReactElement } from "react"; import { Color } from "../types"; export interface Props { value?: string; placeholder?: string; background?: Color; size?: "small" | "middle" | "large" | number; autoFocus?: boolean; disabled?: boolean; onBlur?: () => void; onChange: (e: string) => void; } export declare const RichText: (props: Props) => ReactElement;