UNPKG

@wulperstudio/cms

Version:
19 lines 617 B
/* eslint-disable react/prop-types */ import React from 'react'; import { TextDate } from '../TextDate'; import { Box, Label } from './styled'; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; var DateOutput = function DateOutput(props) { return /*#__PURE__*/_jsxs(Box, { showBorder: props.showBorder, backgroundColor: props.backgroundColor, showBoxShadow: props.showBoxShadow, showDivider: props.showDivider, children: [/*#__PURE__*/_jsx(Label, { children: props.label }), /*#__PURE__*/_jsx(TextDate, { date: props.date })] }); }; export default DateOutput;