UNPKG

@lynsoluciones/medusa-docs

Version:
28 lines (27 loc) 1.3 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.OrdersTab = void 0; const jsx_runtime_1 = require("react/jsx-runtime"); /* * * * MIT License * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ const ui_1 = require("@medusajs/ui"); const react_1 = require("react"); const material_1 = require("@mui/material"); const order_table_1 = __importDefault(require("../orders/order-table")); const OrdersTab = () => { const [contextFilters, setContextFilters] = (0, react_1.useState)(); return ((0, jsx_runtime_1.jsx)(material_1.Grid, { container: true, spacing: 2, children: (0, jsx_runtime_1.jsx)(material_1.Grid, { item: true, xs: 12, md: 12, xl: 12, children: (0, jsx_runtime_1.jsx)(ui_1.Container, { children: (0, jsx_runtime_1.jsx)(order_table_1.default, { setContextFilters: setContextFilters }) }) }) })); }; exports.OrdersTab = OrdersTab;