Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
{fontFamilies.map(({ dir, title }) => (
))}
{Object.keys(CarbonType.styles).map(token => (
{fontFamilies.map(({ dir, fontFamily, title, sample }) => (
<table>
<thead>
<tr>
<th>Token</th>
<th>Sample</th><th dir="==" style="{{">
{title}
</th></tr>
</thead>
<tbody><tr>
<td>
<pre> <code>{formatTokenName(token)}</code>
</pre>
</td>
<td>
<span>Text sample</span>
</td><td dir="{dir}" style="{{">
<span>{sample}</span></td></tr></tbody></table>