Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
<h4>WFP Logos</h4>
<div style="{wrapperStyle}">
{iconList
.filter(function(icon) {
return icon.name.includes('logo');
})
.map(icon => {
return ;
})}
</div>
<h4>WFP Humanitatian Icons</h4>
<div style="{wrapperStyle}">
{iconList
.filter(function(icon) {
return icon.name.includes('wfp-hum--');
})
.map(icon => {
return ;
})}
</div>
<h4>UI Icons</h4>
<div style="{wrapperStyle}">
{iconList
.filter(function(icon) {
return (
!icon.name.includes('wfp-hum--') && !icon.name.includes('logo')
);</div>