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.

16 lines 530 B
import * as React from 'react'; import { View } from 'react-native'; import { useCanShowRoomOptionsButton } from '../hooks-util'; import { HMSRoomOptions } from './HMSRoomOptions'; export const HLSRoomOptionsButton = () => { const canShowOptions = useCanShowRoomOptionsButton(); if (!canShowOptions) { return null; } return /*#__PURE__*/React.createElement(View, { style: { marginLeft: 12 } }, /*#__PURE__*/React.createElement(HMSRoomOptions, null)); }; //# sourceMappingURL=HLSRoomOptionsButton.js.map