UNPKG

fui-fancyui

Version:
34 lines (33 loc) 686 B
"use client"; import { jsx as t } from "react/jsx-runtime"; import { forwardRef as y } from "react"; import { StyledSwipeUpContainer as f, OverflowHidden as c } from "./SwipeUpContainer.style.js"; const $ = y((l, i) => { const { children: n, style: e, isScalable: r = !1, themeType: a = "primary", layer: p = 0, isOpen: o, externalStyle: s, ...m } = l; return /* @__PURE__ */ t( f, { ref: i, style: r ? e : { ...e }, $giveSpace: !r, $themeType: a, $layer: p, $isOpen: o, $externalStyle: s, ...m, children: /* @__PURE__ */ t(c, { children: n }) } ); }); export { $ as default };