UNPKG

@vchatcloud/react-ui-kit

Version:

VChatCloud UI Kit for react integration

11 lines (10 loc) 269 B
type Theme = "light" | "dark"; type Store = { theme: Theme; }; type Action = { set: (theme: Theme) => void; toggle: () => void; }; declare const useTheme: import('zustand').UseBoundStore<import('zustand').StoreApi<Store & Action>>; export default useTheme;