UNPKG

react-native-booking-calendar

Version:
24 lines (22 loc) 491 B
import React from 'react'; import { Dimensions, StyleSheet, View } from 'react-native'; const { width: windowWidth } = Dimensions.get('window'); const Table = ({ children, backgroundColor }) => { return /*#__PURE__*/React.createElement(View, { style: [TableStyle.wrapper, { backgroundColor: backgroundColor }] }, children); }; const TableStyle = StyleSheet.create({ wrapper: { width: windowWidth } }); export default Table; //# sourceMappingURL=Table.js.map