TextArea
Custom textarea.
Interface: ITextArea.
See the parameters of this component in storybook.
Example
import {Actions, type IMessage, type ITextArea} from "@onlyoffice/docspace-plugin-sdk"
const onChange = (value: string) => {
props.value = value
const message: IMessage = {
actions: [Actions.updateProps],
newProps: props,
}
return message
}
const props: ITextArea = {
value: "",
onChange,
}