UNPKG

@konstructio/ui

Version:

A set of reusable and customizable React components built for konstruct.io

29 lines (28 loc) 759 B
import { t as s } from "../../utils-COaoD3PI.js"; import { r as e } from "../../dist-Br5jSLr2.js"; import { rootVariants as p } from "./Tabs.variants.js"; import { Content as n } from "./components/Content.js"; import { List as f } from "./components/List.js"; import { Trigger as g } from "./components/Trigger.js"; import { jsx as T } from "react/jsx-runtime"; var r = ({ children: o, theme: a, className: m, orientation: t, ...i }) => /* @__PURE__ */ T(e, { ...i, "data-theme": a, "data-orientation": t, "aria-orientation": t, className: s(p({ variant: t, className: m })), children: o }); r.displayName = "KonstructTabs"; r.Content = n; r.List = f; r.Trigger = g; export { n as Content, f as List, r as Tabs, g as Trigger };