UNPKG

@azuro-org/sdk

Version:

One-stop solution for building betting dApps on the Azuro Protocol.

13 lines (12 loc) 418 B
import React from 'react'; export type LiveContextValue = { isLive: boolean; changeLive: (value: boolean) => void; }; export declare const LiveContext: React.Context<LiveContextValue | null>; export declare const useLive: () => LiveContextValue; export type LiveProviderProps = { children: React.ReactNode; initialLiveState?: boolean; }; export declare const LiveProvider: React.FC<LiveProviderProps>;