@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
28 lines (27 loc) • 737 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { R as n } from "../../index-CvfCCTEO.js";
import { cn as s } from "../../utils/index.js";
import { rootVariants as p } from "./Tabs.variants.js";
import { List as f } from "./components/List.js";
import { Trigger as g } from "./components/Trigger.js";
import { Content as c } from "./components/Content.js";
const t = ({ children: o, theme: m, className: a, orientation: r, ...i }) => /* @__PURE__ */ e(
n,
{
...i,
"data-theme": m,
"data-orientation": r,
"aria-orientation": r,
className: s(p({ variant: r, className: a })),
children: o
}
);
t.List = f;
t.Trigger = g;
t.Content = c;
export {
c as Content,
f as List,
t as Tabs,
g as Trigger
};