@wulperstudio/cms
Version:
Wulper Studio Library Components CMS
14 lines • 561 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import React from 'react';
import { Typography, Stack } from '@mui/material';
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
var CustomCmpText = function CustomCmpText(props) {
return /*#__PURE__*/_jsxs(Stack, _extends({
alignItems: "center",
direction: props.direction,
columnGap: props.spacing || 1
}, props.stackProps, {
children: [props.customComponent, /*#__PURE__*/_jsx(Typography, _extends({}, props.typographyProps))]
}));
};
export default CustomCmpText;