UNPKG

@100mslive/react-native-room-kit

Version:

100ms Room Kit provides simple & easy to use UI components to build Live Streaming & Video Conferencing experiences in your apps.

24 lines 1.1 kB
import React from 'react'; import { FlatList } from 'react-native'; import type { HMSView } from '@100mslive/react-native-hms'; import type { PeerTrackNode } from '../utils/types'; export type GridViewProps = { onPeerTileMorePress(peerTrackNode: PeerTrackNode): void; pairedPeers: PeerTrackNode[][]; }; export type GridViewRefAttrs = { captureViewScreenshot(node: PeerTrackNode): any; getRegularTilesFlatlistRef(): React.RefObject<FlatList<PeerTrackNode[]>>; getScreenshareTilesFlatlistRef(): React.RefObject<FlatList<PeerTrackNode>> | null; }; export declare const GridView: React.ForwardRefExoticComponent<GridViewProps & React.RefAttributes<GridViewRefAttrs>>; export type RegularTilesProps = { setHmsViewRefs(viewId: string, ref: typeof HMSView | null): void; onPeerTileMorePress(peerTrackNode: PeerTrackNode): void; pairedPeers: PeerTrackNode[][]; }; export type ScreenshareTilesProps = { setHmsViewRefs(viewId: string, ref: typeof HMSView | null): void; onPeerTileMorePress(peerTrackNode: PeerTrackNode): void; }; //# sourceMappingURL=GridView.d.ts.map