ITextAreaInstanceProps
Events/Callbacks to controll the behaviour of the component
interface ITextAreaInstanceProps {
/**
* focus the input
* @example
* ```
* inputRef.current?.focus()
* ```
*/
focus: () => void,
/**
* this will return the <TextArea /> element
* @example
* ```
* let input = inputRef.current?.getElement()
* ```
*/
getElement: () => React.MutableRefObject<HTMLTextAreaElement>
}Usage
Examples
Last updated