fui-fancyui
Version:
FancyUI Libary
23 lines (22 loc) • 551 B
JavaScript
"use client";
import { jsx as r } from "react/jsx-runtime";
import c from "../../molecules/BottomBarIcon/BottomBarIcon.js";
import a from "../../molecules/ComponentAndActionWrapper/ComponentAndActionWrapper.js";
function u(t) {
const { WrapperComponent: n, type: e, href: p, onClick: o, ...m } = t;
return /* @__PURE__ */ r(
a,
{
WrapperComponent: n,
type: e ?? "a",
href: p,
onClick: () => {
o == null || o();
},
children: /* @__PURE__ */ r(c, { ...m })
}
);
}
export {
u as default
};