Add support for disabled prop
SaeedZhiany opened this issue · 1 comments
SaeedZhiany commented
Currently, this component only picks four props of HTMLTextAreaElement
, it would be great if we have also the disabled
prop support. Thanks!
type PickedAttributes = "onChange" | "onSelect" | "onBlur" | "value";
export interface TextareaProps<TItem> extends Pick<React.InputHTMLAttributes<HTMLTextAreaElement>, PickedAttributes> {
// other props
}
SaeedZhiany commented
It's already supported, my installed type definition package was an old version, upgraded to the latest and the problem has been resolved. I'm closing this issue.