@jcm/use-pusher
Version:
Fork of harelpls/use-pusher with the latest changes on master
10 lines (9 loc) • 348 B
TypeScript
import React from "react";
import { ChannelsContextValues } from "./types";
export declare const __ChannelsContext: React.Context<ChannelsContextValues>;
/**
* Provider that creates your channels instances and provides it to child hooks throughout your app.
*/
export declare const ChannelsProvider: React.FC<{
children: React.ReactNode;
}>;