Spaces:
Sleeping
Sleeping
| 'use client'; | |
| import * as React from 'react'; | |
| export const SelectContext = React.createContext<SelectContextType | undefined>(undefined); | |
| type SelectContextType = { | |
| open: boolean; | |
| setOpen: (open: boolean) => void; | |
| value: string; | |
| onChange: (value: string) => void; | |
| }; | |