UNPKG

@wulperstudio/cms

Version:
29 lines (28 loc) 993 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _material = require("@mui/material"); var _styled = require("./styled"); var _jsxRuntime = require("react/jsx-runtime"); var defaultProps = { title: 'Location', titleProps: { color: '#B2BEDA', fontSize: 14, letterSpacing: '2%' } }; var LocationOutput = function LocationOutput(props) { return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styled.OutputLocationWrapper, { children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_material.Typography, Object.assign({}, props.titleProps || defaultProps.titleProps, { children: props.title || defaultProps.title })), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styled.OutputLocationBody, { children: props.children })] }); }; var _default = exports["default"] = LocationOutput;