UNPKG

@wulperstudio/cms

Version:
12 lines 1.02 kB
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; var _excluded = ["theme"]; import { styled } from '@mui/material/styles'; export var TagWS = styled('div', { shouldForwardProp: function shouldForwardProp(props) { return props !== 'backgroundColor' && props !== 'incrementHeight' && props !== 'fontSizeIncrement' && props !== 'paddingIncrement'; } })(function (_ref) { var theme = _ref.theme, props = _objectWithoutProperties(_ref, _excluded); return "\n min-height: ".concat(props.incrementHeight || '8px', ";\n width: max-content;\n border-radius: 50px;\n padding: ").concat(props.paddingIncrement || '0px 10px', ";\n background-color: ").concat(props.backgroundColor || '#6e6e6e', ";\n max-height: ").concat(props.incrementHeight || '20px', ";\n font-family: ").concat(theme.typography.fontFamily, ";\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n font-size: ").concat(props.fontSizeIncrement || '12px', ";\n"); });