UNPKG

braid-design-system

Version:
23 lines (22 loc) 639 B
"use strict"; const jsxRuntime = require("react/jsx-runtime"); const lib_components_Tabs_Tab_cjs = require("./Tab.cjs"); const lib_components_Tabs_Tabs_cjs = require("./Tabs.cjs"); const Tabs = ({ label, size, ...restProps }) => /* @__PURE__ */ jsxRuntime.jsx( lib_components_Tabs_Tabs_cjs.Tabs, { label: "", size: size === "small" ? size : "standard", ...restProps } ); const Tab = ({ icon, ...restProps }) => /* @__PURE__ */ jsxRuntime.jsx( lib_components_Tabs_Tab_cjs.Tab, { icon: typeof icon === "boolean" ? void 0 : icon, ...restProps } ); Tab.__isTab__ = true; exports.Tab = Tab; exports.Tabs = Tabs;