MultilineTextInput component
Opened this issue · 0 comments
axross commented
A UI form element that allows the user to input multi-line text.
Requirements
- It should support both controlled and uncontrolled behavior.
Props
value?: string
defaultValue?: string
disabled?: boolean
onChange?: (event: import("react").ChangeEvent<HTMLTextAreaElement>) => void
style?: import("react").CSSProperties
children?: import("react").ReactNode
Rendered Elements
This component should render single <textarea>
element and all the given props should be provided to this element.
Event Handlers
This component should take any event handler.