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.

42 lines 1.26 kB
import * as React from 'react'; import { View, StyleSheet, Text } from 'react-native'; import { WelcomeHandIcon } from '../Icons'; import { useHMSRoomStyleSheet } from '../hooks-util'; export const WelcomeInMeeting = () => { const hmsRoomStyles = useHMSRoomStyleSheet((theme, typography) => ({ title: { color: theme.palette.on_surface_high, fontFamily: `${typography.font_family}-SemiBold` }, subtitle: { color: theme.palette.on_surface_medium, fontFamily: `${typography.font_family}-Regular` } })); return /*#__PURE__*/React.createElement(View, { style: styles.container }, /*#__PURE__*/React.createElement(WelcomeHandIcon, null), /*#__PURE__*/React.createElement(Text, { style: [styles.title, hmsRoomStyles.title] }, "Welcome!"), /*#__PURE__*/React.createElement(Text, { style: [styles.subtitle, hmsRoomStyles.subtitle] }, "Sit back and relax.")); }; const styles = StyleSheet.create({ container: { flex: 1, alignItems: 'center', justifyContent: 'center' }, title: { fontSize: 24, lineHeight: 32, marginTop: 24 }, subtitle: { fontSize: 16, lineHeight: 24, letterSpacing: 0.5, marginTop: 8 } }); //# sourceMappingURL=WelcomeInMeeting.js.map