feat(search): support disabled state

This commit is contained in:
Eric Liu 2020-10-14 16:00:19 -07:00
commit e4766591d5
4 changed files with 20 additions and 0 deletions

6
types/index.d.ts vendored
View file

@ -3408,6 +3408,12 @@ export class Search extends CarbonSvelteComponent {
*/
light?: boolean;
/**
* Set to `true` to disable the search input
* @default false
*/
disabled?: boolean;
/**
* Specify the value of the search input
* @default ""