UNPKG

light-bolt11-decoder

Version:

<a href="https://nbd.wtf"><img align="right" height="196" src="https://user-images.githubusercontent.com/1653275/194609043-0add674b-dd40-41ed-986c-ab4a2e053092.png" /></a>

18 lines (17 loc) 602 B
import React from 'react'; export interface DefaultTheme { [key: string]: any; } declare type ThemeFn = (outerTheme?: DefaultTheme) => DefaultTheme; declare type ThemeArgument = DefaultTheme | ThemeFn; declare type Props = { children?: React.ReactChild; theme: ThemeArgument; }; export declare const ThemeContext: React.Context<DefaultTheme | undefined>; export declare const ThemeConsumer: React.Consumer<DefaultTheme | undefined>; /** * Provide a theme to an entire react component tree via context */ export default function ThemeProvider(props: Props): JSX.Element | null; export {};