UNPKG

@transkripid/flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS - Transkrip.id fork

24 lines (23 loc) 693 B
import { jsx as r } from "react/jsx-runtime"; import { c } from "react/compiler-runtime"; import { Button as p } from "../Button/Button.mjs"; const i = (l) => { const o = c(6); let t, e; o[0] !== l ? ({ children: t, ...e } = l, o[0] = l, o[1] = t, o[2] = e) : (t = o[1], e = o[2]); const s = m; let n; return o[3] !== t || o[4] !== e ? (n = /* @__PURE__ */ r(p, { onClick: s, ...e, children: t }), o[3] = t, o[4] = e, o[5] = n) : n = o[5], n; }; i.displayName = "Banner.CollapseButton"; function m(l) { const t = l.target.closest('[role="banner"]'); t == null || t.remove(); } export { i as BannerCollapseButton }; //# sourceMappingURL=BannerCollapseButton.mjs.map