UNPKG

fui-fancyui

Version:
12 lines (11 loc) 469 B
"use client"; import { jsx as o } from "react/jsx-runtime"; import a from "../../shared/ComponentAsWrapper/ComponentAsWrapper.js"; import { StyledAnchor as c, StyledButton as m } from "./FancyActionWrapper.style.js"; function l(t) { const { children: e, WrapperComponent: p, ...r } = t, n = p || (r.as === "a" ? /* @__PURE__ */ o(c, { ...r }) : /* @__PURE__ */ o(m, { ...r })); return /* @__PURE__ */ o(a, { wrapper: n, children: e }); } export { l as default };