braid-design-system
Version:
Themeable design system for the SEEK Group
23 lines (22 loc) • 639 B
JavaScript
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;
;