@rtcio/react
Version:
A wrapper around the @rtcio/core library for React integration
9 lines • 548 B
TypeScript
export { createTypedHooks } from "./hooks/createTypedHooks";
export { createUsePeerListener, type WithPeerId, } from "./hooks/usePeerListener";
export { createUseRtcListener } from "./hooks/useRtcListener";
export { createUsePeerEmitter } from "./hooks/usePeerEmitter";
export { createUsePeers } from "./hooks/usePeers";
export { useRtc } from "./hooks/useRtc";
export { default as P2PProvider } from "./Provider";
export type { PeerId, P2PConnectionEventMap, RTCInternalEvents, RtcOptions, } from "@rtcio/core";
//# sourceMappingURL=index.d.ts.map