File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ import type { Option } from "@/types/option";
6
6
* @see https://vuejs.org/api/sfc-script-setup#defineslots
7
7
*/
8
8
export type Slots < GenericOption extends Option < OptionValue > , OptionValue > = {
9
- "value" : ( props : { option : GenericOption } ) => any ;
10
- "tag" : ( props : { option : GenericOption ; removeOption : ( ) => void } ) => any ;
11
- "clear" : ( ) => any ;
12
- "dropdown" : ( ) => any ;
13
- "loading" : ( ) => any ;
14
- "menu-header" : ( ) => any ;
15
- "option" : ( props : { option : GenericOption ; index : number ; isFocused : boolean ; isSelected : boolean ; isDisabled : boolean } ) => any ;
16
- "no-options" : ( ) => any ;
17
- "taggable-no-options" : ( ) => any ;
9
+ "value" ? : ( props : { option : GenericOption } ) => any ;
10
+ "tag" ? : ( props : { option : GenericOption ; removeOption : ( ) => void } ) => any ;
11
+ "clear" ? : ( ) => any ;
12
+ "dropdown" ? : ( ) => any ;
13
+ "loading" ? : ( ) => any ;
14
+ "menu-header" ? : ( ) => any ;
15
+ "option" ? : ( props : { option : GenericOption ; index : number ; isFocused : boolean ; isSelected : boolean ; isDisabled : boolean } ) => any ;
16
+ "no-options" ? : ( ) => any ;
17
+ "taggable-no-options" ? : ( ) => any ;
18
18
} ;
19
19
20
20
export type IndicatorsSlots < GenericOption extends Option < OptionValue > , OptionValue > = Pick <
You can’t perform that action at this time.
0 commit comments