UNPKG

@adaptui/react

Version:

Collection of headless components/hooks that are accessible, composable, customizable from low level to build your own UI & Design System powered by Reakit

11 lines 274 B
export var genId = (() => { var count = 0; return () => { return (++count).toString(); }; })(); export var getToast = (toasts, toastId) => { var index = toasts.findIndex(toast => toast.id === toastId); return toasts[index]; }; //# sourceMappingURL=index.js.map