UNPKG

@100mslive/roomkit-react

Version:

![Banner](https://github.com/100mslive/web-sdks/blob/06c65259912db6ccd8617f2ecb6fef51429251ec/prebuilt-banner.png)

11 lines (8 loc) 307 B
import { createContext } from 'react'; export type PIPContextType = { isSupported: boolean; pipWindow: Window | null; requestPipWindow: (width: number, height: number) => Promise<void>; closePipWindow: () => void; }; export const PIPContext = createContext<PIPContextType | undefined>(undefined);