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.

32 lines 744 B
import * as React from 'react'; import { StyleSheet, View } from 'react-native'; import Animated from 'react-native-reanimated'; export const OverlayContainer = ({ children }) => { return /*#__PURE__*/React.createElement(View, { style: styles.container }, children); }; const Overlay = ({ children, animatedStyle }) => { return /*#__PURE__*/React.createElement(Animated.View, { style: [styles.absoluteContainer, animatedStyle] }, children); }; OverlayContainer.Overlay = Overlay; const styles = StyleSheet.create({ container: { flex: 1, position: 'relative' }, absoluteContainer: { position: 'absolute', width: '100%', bottom: 0, zIndex: 1 } }); //# sourceMappingURL=OverlayContainer.js.map