Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default ({ fontSizes = [] }) => (
<div style="{{">
{sort(uniq(fontSizes)).map(fontSize => (
<div>
</div>
))}
</div>
textAlign: 'center',
fontWeight: 700,
verticalAlign: 'bottom',
lineHeight: 0.75,
px: 1,
pb: 2,
borderLeft: '1px solid',
borderBottom: '1px solid',
borderColor: 'gray'
}}
children="A"
/>
))}
{sort(fontSizes).map(fontSize => (
))}
return (a, b) => cssUnitSort.sortFn(a, b) * -1
}