fix(text-area): export readonly prop (#1043)

Fixes #1009
This commit is contained in:
metonym 2022-01-26 19:19:49 -08:00 committed by GitHub
commit 3018c2b207
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 1 deletions

View file

@ -39,6 +39,12 @@ export interface TextAreaProps
*/
disabled?: boolean;
/**
* Set to `true` to use the read-only variant
* @default false
*/
readonly?: boolean;
/**
* Specify the helper text
* @default ""