<commit_before><commit_msg>Search form and GeoLocate button are separeted<commit_after>import React, { PropTypes } from 'react'
import SearchForm from './SearchForm'
import GeoLocateButton from './GeoLocateButton'

const Controller = ({ onSearch, onLocate }) => {
  return(
    <div className="card card-block controller">
      <SearchForm onSearch={onSearch}/>
      <GeoLocateButton onLocate={onLocate}/>
    </div>
  )
}

Controller.propTypes = {
  onSearch: PropTypes.func.isRequired,
  onLocate: PropTypes.func.isRequired,
}

export default Controller
{'fraction_non_alphanumeric': 0.11490125673249552, 'fraction_numerical': 0.0, 'mean_word_length': 4.752577319587629, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '6315182', 'n_tokens_mistral': 171, 'n_tokens_neox': 171, 'n_words': 41}