@brizy/ui
Version:
React elements in Brizy style
18 lines (17 loc) • 529 B
TypeScript
import { ReactElement } from "react";
import { FieldsTheme } from "../utils/getFieldsTheme";
export interface Props {
value: string;
onChange?: (t: string) => void;
autoSize?: boolean;
placeholder?: string;
onPressEnter?: () => void;
onResize?: () => void;
size?: "xsmall" | "small" | "middle" | "large" | number;
strong?: boolean;
onBlur?: () => void;
onFocus?: () => void;
theme?: FieldsTheme;
disabled?: boolean;
}
export declare const TextArea: (props: Props) => ReactElement;