Skip to content

Commit

Permalink
* picker: refactor picker options type.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Aug 29, 2024
1 parent f3d475a commit f0cd19e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/picker/src/types/picker-options.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {PickOptions} from '@zui/pick';
import type {MenuOptions} from '@zui/menu';
import type {ToolbarSetting} from '@zui/toolbar';
import type {TreeOptions} from '@zui/tree';
import type {SearchTreeOptions, TreeOptions} from '@zui/tree';
import type {CustomContentType, HotkeysSettings} from '@zui/core';
import type {PickerState} from './picker-state';
import type {PickerItemBasic} from './picker-item-options';
Expand All @@ -15,7 +15,7 @@ export interface PickerOptions<S extends PickerState = PickerState> extends Pick
emptyValue?: string;
limitValueInList?: boolean;
tree?: TreeOptions | boolean;
menu?: MenuOptions;
menu?: SearchTreeOptions;
checkbox?: MenuOptions['checkbox'];
items: MenuOptions['items'];
maxItemsCount?: number;
Expand Down

0 comments on commit f0cd19e

Please sign in to comment.