react-native-booking-calendar
Version:
calendar component for booking app
24 lines (22 loc) • 491 B
JavaScript
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