import styles from './ListItem.less';
export default ({name, onClick, active}) => {
  return (
    <div className={styles.item + ' ' + (active ? styles.active : '')} onClick={onClick}>
      {name}
    </div>
  )
};
