_renderToolsRight()

in public/js/components/feature_table.js [85:100]


  _renderToolsRight() {
    let humanReadableFormat;
    const format = this.props.config.getFormatOfType('geojson');
    if (format === 'geojson') {
      humanReadableFormat = 'GeoJSON';
    } else if (format === 'topojson') {
      humanReadableFormat = 'TopoJSON';
    } else {
      humanReadableFormat = format;
    }
    return (
      <EuiButton href={this.props.config.getFormatOfTypeUrl('geojson')} target="_">
        Download {humanReadableFormat}
      </EuiButton>
    );
  }