@daimo/pay
Version:
Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.
17 lines (16 loc) • 464 B
TypeScript
import React from "react";
import { CustomTheme, Mode, Theme } from "../../types";
type ContextValue = {
theme?: Theme;
mode?: Mode;
customTheme?: CustomTheme;
};
type DaimoPayThemeProviderProps = {
children?: React.ReactNode;
theme?: Theme;
mode?: Mode;
customTheme?: CustomTheme;
};
export declare const DaimoPayThemeProvider: React.FC<DaimoPayThemeProviderProps>;
export declare const useThemeContext: () => ContextValue;
export {};