UNPKG

@nu-art/thunder

Version:

Thunder - React & Typescript based frontend framework

21 lines (20 loc) 598 B
import * as React from 'react'; declare type Props<Key> = { onChange: (value: string, id: Key) => void; onAccept?: () => void; style?: object; value?: string; error?: string; placeholder?: string; id?: Key; }; declare type State = { value: string; }; export declare class TS_TextArea<Key extends string> extends React.Component<Props<Key>, State> { constructor(props: Props<Key>); changeValue: (event: React.ChangeEvent<HTMLTextAreaElement>) => void; handleKeyPress: (event: React.KeyboardEvent<Element>) => void; render(): JSX.Element; } export {};