feat(combo-box): support warning state

This commit is contained in:
Eric Liu 2021-02-17 10:34:20 -08:00
commit 51eda02443
5 changed files with 60 additions and 2 deletions

View file

@ -73,6 +73,18 @@ export interface ComboBoxProps
*/
invalid?: boolean;
/**
* Set to `true` to indicate an warning state
* @default false
*/
warn?: boolean;
/**
* Specify the warning state text
* @default ""
*/
warnText?: string;
/**
* Set to `true` to enable the light variant
* @default false