UNPKG

@0xsequence/connect

Version:
12 lines 548 B
import type { Theme } from '@0xsequence/design-system'; import type { Dispatch, SetStateAction } from 'react'; import type { ModalPosition } from '../index.js'; type ThemeContext = { setTheme: Dispatch<SetStateAction<Theme>>; theme: Theme; position: ModalPosition; setPosition: Dispatch<SetStateAction<ModalPosition>>; }; declare const useThemeContext: () => ThemeContext, ThemeContextProvider: import("react").Provider<ThemeContext | undefined>; export { ThemeContextProvider, useThemeContext }; //# sourceMappingURL=Theme.d.ts.map