<commit_before>import React from 'react'
import {render} from 'react-dom'
import 'fixed-data-table/dist/fixed-data-table.css';
import Component from '../../src'
import faker from 'faker';


function getHeaders(){

 var columns = [
	 {id:'id', name:'ID'},
	 {id:'name', name:'Name'},
	 {id:'address', name:'Street Address'},
	 {id:'state', name:'State'},
	 {id:'zip', name:'Zip Code'}
 ];

 return columns;

}

function generateList(){
  var items = [];

  for (var i=1; i<=5000; i++){
   items.push({ id: i, name: faker.name.findName(), address: faker.address.streetAddress(), state: faker.address.stateAbbr(), zip: faker.address.zipCode()});
 }

 return items;
};

const data = generateList();

let Demo = React.createClass({
  render() {
    return <div>
    <h1>datagrid1</h1>
    <Component data={data} columns={getHeaders()} />
    </div>
  }
})
<commit_msg>added showFilter prop to FlybaseDataTable Component<commit_after>import React from 'react'
import {render} from 'react-dom'
import 'fixed-data-table/dist/fixed-data-table.css';
import Component from '../../src'
import faker from 'faker';


function getHeaders(){

 var columns = [
	 {id:'id', name:'ID'},
	 {id:'name', name:'Name'},
	 {id:'address', name:'Street Address'},
	 {id:'state', name:'State'},
	 {id:'zip', name:'Zip Code'}
 ];

 return columns;

}

function generateList(){
  var items = [];

  for (var i=1; i<=5000; i++){
   items.push({ id: i, name: faker.name.findName(), address: faker.address.streetAddress(), state: faker.address.stateAbbr(), zip: faker.address.zipCode()});
 }

 return items;
};

const data = generateList();

let Demo = React.createClass({
  render() {
    return <div>
    <h1>datagrid1</h1>
    <Component data={data} columns={getHeaders()} showFilter={true} />
    </div>
  }
})

{'fraction_non_alphanumeric': 0.19921436588103256, 'fraction_numerical': 0.008978675645342313, 'mean_word_length': 4.29080118694362, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3051081', 'n_tokens_mistral': 625, 'n_tokens_neox': 594, 'n_words': 150}