feat(select): add warning state

This commit is contained in:
Eric Y Liu 2021-03-19 05:47:22 -07:00
commit be30b0a019
5 changed files with 62 additions and 1 deletions

View file

@ -54,6 +54,18 @@ export interface SelectProps
*/
invalidText?: string;
/**
* Set to `true` to indicate an warning state
* @default false
*/
warn?: boolean;
/**
* Specify the warning state text
* @default ""
*/
warnText?: string;
/**
* Specify the helper text
* @default ""