UNPKG

@mantine/core

Version:

React components library focused on usability, accessibility and developer experience

18 lines (15 loc) 416 B
'use client'; import { filterProps } from '../../../../utils/filter-props/filter-props.mjs'; import 'react'; function mergeVars(vars) { return vars.reduce((acc, current) => { if (current) { Object.keys(current).forEach((key) => { acc[key] = { ...acc[key], ...filterProps(current[key]) }; }); } return acc; }, {}); } export { mergeVars }; //# sourceMappingURL=merge-vars.mjs.map