UNPKG

@lynsoluciones/medusa-docs

Version:
25 lines (24 loc) 1.96 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TemplatesTab = 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 material_1 = require("@mui/material"); const templates_invoice_tab_1 = require("./templates-invoice-tab"); const templates_packing_slip_tab_1 = require("./templates-packing-slip-tab"); const templates_shipping_tag_tab_1 = require("./templates-shipping-tag-tab"); const TemplatesTab = () => { return ((0, jsx_runtime_1.jsxs)(ui_1.Tabs, { defaultValue: "invoice", children: [(0, jsx_runtime_1.jsxs)(ui_1.Tabs.List, { children: [(0, jsx_runtime_1.jsx)(ui_1.Tabs.Trigger, { value: "invoice", children: "Factura" }), (0, jsx_runtime_1.jsx)(ui_1.Tabs.Trigger, { value: "packing-slip", children: "Albar\u00E1n" }), (0, jsx_runtime_1.jsx)(ui_1.Tabs.Trigger, { value: "shipping-tag", children: "Etiqueta" })] }), (0, jsx_runtime_1.jsxs)(ui_1.Tabs.Content, { value: "invoice", children: [(0, jsx_runtime_1.jsx)(material_1.Box, { height: 20 }), (0, jsx_runtime_1.jsx)(templates_invoice_tab_1.InvoiceTemplatesTab, {})] }), (0, jsx_runtime_1.jsxs)(ui_1.Tabs.Content, { value: "packing-slip", children: [(0, jsx_runtime_1.jsx)(material_1.Box, { height: 20 }), (0, jsx_runtime_1.jsx)(templates_packing_slip_tab_1.PackingSlipTemplatesTab, {})] }), (0, jsx_runtime_1.jsxs)(ui_1.Tabs.Content, { value: "shipping-tag", children: [(0, jsx_runtime_1.jsx)(material_1.Box, { height: 20 }), (0, jsx_runtime_1.jsx)(templates_shipping_tag_tab_1.ShippingTagTemplatesTab, {})] })] })); }; exports.TemplatesTab = TemplatesTab;