@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.
21 lines • 726 B
TypeScript
import React from 'react';
import type { ViewStyle, StyleProp } from 'react-native';
import type { HMSView } from '@100mslive/react-native-hms';
import type { PeerTrackNode } from '../utils/types';
type TileProps = {
peerTrackNode: PeerTrackNode;
onPeerTileMorePress(peerTrackNode: PeerTrackNode): void;
setHmsViewRefs(viewId: string, ref: typeof HMSView | null): void;
style?: StyleProp<ViewStyle>;
} & ({
aspectRatio?: undefined;
width: ViewStyle['width'];
height: ViewStyle['height'];
} | {
aspectRatio: number;
width?: ViewStyle['width'];
height?: ViewStyle['width'];
});
declare const Tile: React.NamedExoticComponent<TileProps>;
export { Tile };
//# sourceMappingURL=Tile.d.ts.map