@konstructio/ui
Version:
A set of reusable and customizable React components built for konstruct.io
32 lines (31 loc) • 1.2 kB
JavaScript
import { n as d } from "../../dist-EV-1XXQr.js";
import { t as m } from "../../utils-COaoD3PI.js";
import { a as s, c as p } from "../../dist-B5WmTRxj.js";
import { wrapperVariants as l } from "./Command.variants.js";
import { CommandGroup as j } from "./components/CommandGroup.js";
import { CommandItem as w } from "./components/CommandItem.js";
import { CommandSeparator as V } from "./components/CommandSeparator.js";
import { DialogContent as f } from "./components/DialogContent.js";
import { Command as c } from "./components/Command.js";
import "./components/index.js";
import { jsx as o, jsxs as h } from "react/jsx-runtime";
var I = ({ children: r, title: a, titleClassName: e, wrapperClassName: i, theme: t, ...n }) => /* @__PURE__ */ o(p, {
...n,
children: /* @__PURE__ */ h(f, {
className: "overflow-hidden p-0 border-0 rounded-none!",
"data-theme": t,
children: [/* @__PURE__ */ o(s, {
className: m("hidden", e),
children: /* @__PURE__ */ o(d, { children: a })
}), /* @__PURE__ */ o(c, {
className: m(l({ className: i })),
children: r
})]
})
});
export {
I as Command,
j as CommandGroup,
w as CommandItem,
V as CommandSeparator
};