welcome-ui
Version:
Customizable design system with react, typescript, tailwindcss and ariakit.
26 lines (25 loc) • 685 B
JavaScript
"use client";
import { u as i } from "./NDVACHQI-WTOpOfgG.js";
import { b as s } from "./WLZ6H5FH-CuTcX7sR.js";
import { f as n, c as u, a as c, i as l, D } from "./U6HHPQDW-CzxyP5H7.js";
var m = "button", g = u(
function({ store: e, ...o }) {
const t = s();
e = e || t, l(
e,
process.env.NODE_ENV !== "production" && "DialogDisclosure must receive a `store` prop or be wrapped in a DialogProvider component."
);
const r = e.useState("contentElement");
return o = {
"aria-haspopup": D(r, "dialog"),
...o
}, o = i({ store: e, ...o }), o;
}
), d = n(function(e) {
const o = g(e);
return c(m, o);
});
export {
d as D,
g as u
};