UNPKG

mapwize-ui-react-native

Version:

Fully featured and ready to use UI to add Mapwize Indoor Maps and Navigation in your React Native app.

27 lines (25 loc) 634 B
import React from 'react'; import { StyleSheet, View } from 'react-native'; const SearchContainer = ({ style, reduxState: { isInSearch }, children }) => { return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, { style: [style, styles.searchContainer, isInSearch && styles.isInSearch] }, children)); }; const styles = StyleSheet.create({ searchContainer: {}, isInSearch: { backgroundColor: 'white', flex: 1, position: 'absolute', width: '100%', height: '100%' } }); export default SearchContainer; //# sourceMappingURL=searchContainer.js.map