@project44-manifest/react
Version:
Manifest Design System react components
23 lines • 834 B
TypeScript
import { As, Props } from '../../system';
import { TextFieldBaseElement, TextFieldBaseOptions } from '../TextFieldBase';
export interface TextAreaOptions<T extends As = TextFieldBaseElement> extends TextFieldBaseOptions<T> {
/**
* The default value (uncontrolled).
*/
defaultValue?: string;
/**
* Temporary text that occupies the text input when it is empty.
*/
placeholder?: string;
/**
* The current value (controlled).
*/
value?: string;
/**
* Handler that is called when the value changes.
*/
onChange?: (value: string) => void;
}
export declare type TextAreaProps<T extends As = TextFieldBaseElement> = Props<TextAreaOptions<T>>;
export declare const TextArea: import("../../system").Component<TextAreaOptions<"div">>;
//# sourceMappingURL=TextArea.d.ts.map