UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

18 lines (17 loc) 544 B
/// <reference types="react" /> import { SCLiveStreamType } from '@selfcommunity/types'; /** * Interface LiveStreamContextType */ export interface LiveStreamContextType { /** * Options */ liveStream: SCLiveStreamType; } export declare const LiveStreamContext: import("react").Context<LiveStreamContextType>; /** * Let's only export the `useLiveStream` hook instead of the context. * We only want to use the hook directly and never the context component. */ export declare function useLiveStream(): LiveStreamContextType;