Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
declarations.forEach(({ property, value }) => {
const camelCaseProperty = camelCaseCss(property);
styleObj[camelCaseProperty] = value;
});
return styleObj;