score:1

Accepted answer
const NavigationItem = (props) => (
<li className='NavigationItem'>
<a href={props.link} 
className={props.active ? 'active' : null}>{props.children}
</a>
</li>)

Related Query

More Query from same tag