UNPKG

welcome-ui

Version:

Customizable design system with react, typescript, tailwindcss and ariakit.

21 lines (20 loc) 823 B
"use client"; import { jsx as c } from "react/jsx-runtime"; import { forwardRef as n } from "react"; import { c as d } from "./index-PAaZGbyz.js"; import { f as m } from "./forwardRefWithAs-8eP3ZN15.js"; const i = "_root_10ds1_2", f = "_body_10ds1_13", e = { root: i, body: f }, l = d(e), p = n( ({ children: o, className: r, ...s }, t) => /* @__PURE__ */ c("div", { className: l("body", r), ref: t, ...s, children: o }) ), y = n(({ alt: o, src: r, ...s }, t) => /* @__PURE__ */ c("div", { ref: t, ...s, children: /* @__PURE__ */ c("img", { alt: o, src: r }) })), _ = d(e), b = m( ({ as: o = "div", children: r, className: s, ...t }, a) => /* @__PURE__ */ c(o, { className: _("root", s), ref: a, ...t, children: r }) ), N = Object.assign(b, { Body: p, Cover: y }); export { N as Card, b as CardComponent };