UNPKG

@gravity-ui/uikit

Version:

Gravity UI base styling and components

5 lines (4 loc) 151 B
export function getToastIndex(toasts, name) { return toasts.findIndex((toast) => toast.name === name); } //# sourceMappingURL=getToastIndex.js.map