// @flow import React from 'react'; import { Switch, View } from 'react-native'; import { translate } from '../../../base/i18n'; import { connect } from '../../../base/redux'; import styles, { ENABLED_THUMB_COLOR, ENABLED_TRACK_COLOR, DISABLED_THUMB_COLOR } from './styles'; /** * The type of the React {@code Component} props of {@link LobbyModeSwitch}. */ type Props = { /** * True if the lobby mode is currently enabled for this conference. */ lobbyEnabled: boolean, /** * Callback to be invoked when handling enable-disable lobby mode switch. */ onToggleLobbyMode: Function }; /** * Component meant to Enable/Disable lobby mode. * * @returns {React$Element} */ function LobbyModeSwitch( { lobbyEnabled, onToggleLobbyMode }: Props) { return ( ); } export default translate(connect()(LobbyModeSwitch));