UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

16 lines (15 loc) 434 B
"use client"; //#region packages/@mantine/core/src/components/Combobox/get-options-lockup/get-options-lockup.ts function getOptionsLockup(options) { return options.reduce((acc, item) => { if ("group" in item) return { ...acc, ...getOptionsLockup(item.items) }; acc[`${item.value}`] = item; return acc; }, {}); } //#endregion exports.getOptionsLockup = getOptionsLockup; //# sourceMappingURL=get-options-lockup.cjs.map