@brizy/ui
Version:
React elements in Brizy style
14 lines (13 loc) • 391 B
TypeScript
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;