feat(toolbar-search): add disabled state

This commit is contained in:
Eric Liu 2021-02-03 16:19:17 -08:00
commit edc361d392
4 changed files with 25 additions and 3 deletions

View file

@ -19,6 +19,12 @@ export interface ToolbarSearchProps {
*/
persistent?: boolean;
/**
* Set to `true` to disable the search bar
* @default false
*/
disabled?: boolean;
/**
* Specify the tabindex
* @default "0"