Website | Source

Item({ item, isActive }) =>
  className = if isActive: 'active' else: 'inactive'

  <li className={className}>
    {item}
  </li>

Language Features

In addition to all all ES7, JSX, and Flow features:

Reference documentation is available in Markdown format here.


Tags: language   ecmascript  

Last modified 16 December 2024