@voilajsx/uikit
Version:
Cross-platform React components with beautiful themes and OKLCH color sciences - Now with mobile (Capacitor) support
15 lines (14 loc) • 344 B
JavaScript
import * as o from "react";
import { u as e } from "./index-CCKe-Mpx.js";
var s = o[" useId ".trim().toString()] || (() => {
}), i = 0;
function c(t) {
const [r, u] = o.useState(s());
return e(() => {
u((a) => a ?? String(i++));
}, [t]), t || (r ? `radix-${r}` : "");
}
export {
c as u
};
//# sourceMappingURL=index-xqkGMOJ8.js.map