UNPKG

@anoki/fse-ui

Version:

FSE UI components library

13 lines (12 loc) 582 B
import { j as r } from "./index.es244.js"; import { clsx as e } from "./index.es246.js"; import { ArrowTop as m } from "./index.es203.js"; import { ArrowDown as n } from "./index.es158.js"; const p = ({ isOpen: o, onClick: t, className: a, toggleLabels: s }) => /* @__PURE__ */ r.jsxs("button", { className: e("", a), onClick: t, children: [ o ? s.closeLabel : s.activeLabel, /* @__PURE__ */ r.jsx("span", { className: "arrow", children: o ? /* @__PURE__ */ r.jsx(m, {}) : /* @__PURE__ */ r.jsx(n, {}) }) ] }); export { p as default }; //# sourceMappingURL=index.es422.js.map