UNPKG

@mankindui/core

Version:

- a react component library - you can see how @mankindui/core can be used via examples: [usage examples](https://github.com/clarklindev/mankindui-test)

13 lines (12 loc) 239 B
import { useState as u, useEffect as n } from "react"; let e = 0; function c(t = "") { const [o, r] = u(e.toString()); return n(() => { r(`${t}-${e++}`); }, [t]), o; } export { c as useUID }; //# sourceMappingURL=useUID.js.map