Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const ColorsRanges = () => (
{categoricalColorSchemeIds.map(scheme => (
<table>
<tbody>
<tr>
<th colspan="{2}">Categorical colors</th>
</tr><tr>
<td>{scheme}</td>
<td>
{colorSchemes[scheme].map(color => (
<span style="{{">
))}
</span></td>
</tr></tbody></table>