feat(multi-select): support warning state

This commit is contained in:
Eric Liu 2021-01-23 06:06:07 -08:00
commit ae7616edf8
5 changed files with 75 additions and 3 deletions

View file

@ -130,6 +130,18 @@ export interface MultiSelectProps extends svelte.JSX.HTMLAttributes<HTMLElementT
*/
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 ""