UNPKG

fui-fancyui

Version:
15 lines (14 loc) 490 B
"use client"; import { jsxs as p, jsx as e } from "react/jsx-runtime"; import { Wrapper as s, Gradient as a, TextWrapper as x } from "./FancyTextOverlay.style.js"; function h(r) { const { children: i, position: t = "top-right", textChildren: n, externalStyle: o, ...l } = r; return /* @__PURE__ */ p(s, { $externalStyle: o, ...l, children: [ /* @__PURE__ */ e(a, { $position: t }), /* @__PURE__ */ e(x, { $position: t, children: n }), i ] }); } export { h as default };