@0xsequence/connect
Version:
Connect package for Sequence Web SDK
12 lines • 548 B
TypeScript
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