welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
26 lines (25 loc) • 735 B
JavaScript
"use client";
import { u } from "./P4IRICAX-CWSZLTGz.mjs";
import { a as c } from "./VGCJ63VH-C0UPBY-5.mjs";
import { f as l, c as p, h as D, _ as m, i as g, g as a, s as v } from "./LVA2YJMS-C-kJ1lkr.mjs";
var f = "button", d = p(
function(r) {
var s = r, { store: o } = s, e = m(s, ["store"]);
const i = c();
o = o || i, g(
o,
process.env.NODE_ENV !== "production" && "DialogDisclosure must receive a `store` prop or be wrapped in a DialogProvider component."
);
const n = o.useState("contentElement");
return e = a({
"aria-haspopup": v(n, "dialog")
}, e), e = u(a({ store: o }, e)), e;
}
), P = l(function(r) {
const s = d(r);
return D(f, s);
});
export {
P as D,
d as u
};