Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
([t, val]: [string, any], index, arr) => (
<div style="{{">
<span>
<span style="{{">
{toCamel(t.split('--mdc-theme-')[1])}:
</span>{' '}
'{val}'{index < arr.length - 1 ? ',' : ''}
</span>
</div>
)
)}