UNPKG

css-variants

Version:

A lightweight, flexible API for managing CSS class variants.

10 lines 267 B
export function mergeProps(defaultProps, props) { const newObj = { ...defaultProps }; for (const k in props) { if (props[k] !== undefined) { newObj[k] = props[k]; } } return newObj; } //# sourceMappingURL=merge-props.js.map