UNPKG

@wulperstudio/cms

Version:
21 lines 718 B
import React from 'react'; import { Box } from '@mui/material'; import { ContainerGrid } from './styled'; import { Button } from '../../components/Button'; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; export var MenuFilter = function MenuFilter(props) { return /*#__PURE__*/_jsxs(ContainerGrid, { padding: props.padding, hideButton: props.hideButton, children: [/*#__PURE__*/_jsx(Box, { width: "100%", sx: { width: '100%', overflowX: 'auto' }, children: props.children }), !props.hideButton && props.contentRight ? props.contentRight : /*#__PURE__*/_jsx(Button, Object.assign({}, props.buttonProps, { children: "Save" }))] }); };