| 27 | } & React.ComponentPropsWithoutRef<typeof CommandPrimitive> |
| 28 | |
| 29 | interface MultiSelectContextProps { |
| 30 | value: string[] |
| 31 | onValueChange: (value: any) => void |
| 32 | open: boolean |
| 33 | setOpen: (value: boolean) => void |
| 34 | inputValue: string |
| 35 | setInputValue: React.Dispatch<React.SetStateAction<string>> |
| 36 | activeIndex: number |
| 37 | setActiveIndex: React.Dispatch<React.SetStateAction<number>> |
| 38 | } |
| 39 | |
| 40 | const MultiSelectContext = createContext<MultiSelectContextProps | null>(null) |
| 41 |
nothing calls this directly
no outgoing calls
no test coverage detected