@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.
24 lines • 738 B
JavaScript
import * as React from 'react';
import { StyleSheet, View } from 'react-native';
import { useSafeAreaInsets } from 'react-native-safe-area-context';
import { HMSNotifications } from './HMSNotifications';
const _HLSNotifications = () => {
const {
bottom: bottomInset
} = useSafeAreaInsets();
return /*#__PURE__*/React.createElement(View, {
style: [styles.container, {
bottom: bottomInset + 90
}]
}, /*#__PURE__*/React.createElement(HMSNotifications, null));
};
export const HLSNotifications = /*#__PURE__*/React.memo(_HLSNotifications);
const styles = StyleSheet.create({
container: {
position: 'absolute',
width: '100%',
bottom: 0,
zIndex: 1
}
});
//# sourceMappingURL=HLSNotifications.js.map