import React from 'react' export default class TagNavigation extends React.Component { render(){ let {tagsToSelect, selectedTags, selectTag} = this.props return (
{selectedTags.length > 0 && }
) } } class Tag extends React.Component { render(){ let {tag: {name, choices, number}, selectTag} = this.props return (
  • {`${name} (${number} variables)`}
  • ) } } export default TagNavigation