UNPKG

welcome-ui

Version:

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

25 lines (24 loc) 632 B
"use client"; import { jsx as s } from "react/jsx-runtime"; import { forwardRef as e } from "react"; import { c as i } from "./index-PAaZGbyz.js"; const c = "_root_zxnv7_2", _ = { root: c, "variant-danger": "_variant-danger_zxnv7_9", "variant-success": "_variant-success_zxnv7_12", "variant-warning": "_variant-warning_zxnv7_15" }, v = i(_), d = e( ({ children: n, className: a, variant: r, ...t }, o) => /* @__PURE__ */ s( "span", { className: v("root", r && `variant-${r}`, a), ref: o, role: r === "danger" ? "alert" : void 0, ...t, children: n } ) ); export { d as Hint };