import React from 'react' export default class TagNavigation extends React.Component { render(){ let {tagsToSelect, selectedTags, selectTag, resetTags} = this.props return (

☛ Explorez par catégorie

{selectedTags.length > 0 &&
    {selectedTags.map(([name, value]) =>
  • {name}: {value}
  • ) }
}
) } } class Tag extends React.Component { render(){ let {tag: {name, choices, number}, selectTag} = this.props return (
  • {name} ({number} variables)
  • ) } } export default TagNavigation