UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

17 lines (16 loc) 596 B
"use client"; import { j as o } from "./jsx-runtime-Bqq1Hxg9.mjs"; import "./Icon.mjs"; import { C as e } from "./index-KxL21VJb.mjs"; import { forwardRef as i } from "./System.mjs"; import m, { th as t } from "@xstyled/styled-components"; import { Button as l } from "./Button.mjs"; const n = m(l)` & > svg:only-child { width: ${t("space.md")}; height: ${t("space.md")}; } `, u = i((s, r) => /* @__PURE__ */ o.jsx(n, { ref: r, shape: "circle", size: "sm", title: "Close", variant: "ghost", ...s, children: /* @__PURE__ */ o.jsx(e, { size: "lg" }) })); export { u as CloseButton };