UNPKG

@wulperstudio/cms

Version:
22 lines 728 B
import React from 'react'; import { Typography } from '@mui/material'; import { OutputLocationWrapper, OutputLocationBody } from './styled'; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; var defaultProps = { title: 'Location', titleProps: { color: '#B2BEDA', fontSize: 14, letterSpacing: '2%' } }; var LocationOutput = function LocationOutput(props) { return /*#__PURE__*/_jsxs(OutputLocationWrapper, { children: [/*#__PURE__*/_jsx(Typography, Object.assign({}, props.titleProps || defaultProps.titleProps, { children: props.title || defaultProps.title })), /*#__PURE__*/_jsx(OutputLocationBody, { children: props.children })] }); }; export default LocationOutput;