react-native-booking-calendar
Version:
calendar component for booking app
37 lines (29 loc) • 785 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = void 0;
var _react = _interopRequireDefault(require("react"));
var _reactNative = require("react-native");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const {
width: windowWidth
} = _reactNative.Dimensions.get('window');
const Table = ({
children,
backgroundColor
}) => {
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
style: [TableStyle.wrapper, {
backgroundColor: backgroundColor
}]
}, children);
};
const TableStyle = _reactNative.StyleSheet.create({
wrapper: {
width: windowWidth
}
});
var _default = Table;
exports.default = _default;
//# sourceMappingURL=Table.js.map