<commit_before>import React from 'react'
import PropTypes from 'prop-types'

import NativeSelect from '@material-ui/core/NativeSelect'

class TimeSelect extends React.Component {
  render = () => {
    // Inspired by: https://material-ui.com/components/selects/#native-select
    return (
      <NativeSelect value={'now'}>
        <option value={'now'}>Now</option>
        <option value={'tomorrow'}>Tomorrow</option>
      </NativeSelect>
    )
  }
}

TimeSelect.propTypes = {
  onSelect: PropTypes.func.isRequired
}

export default TimeSelect<commit_msg>Move time selector to top right corner of the page<commit_after>import React from 'react'
import PropTypes from 'prop-types'

import NativeSelect from '@material-ui/core/NativeSelect'

class TimeSelect extends React.Component {
  render = () => {
    const topRight = { position: 'absolute', right: '0px', top: '0px' }

    // Inspired by: https://material-ui.com/components/selects/#native-select
    return (
      <NativeSelect style={topRight} value={'now'}>
        <option value={'now'}>Now</option>
        <option value={'tomorrow'}>Tomorrow</option>
      </NativeSelect>
    )
  }
}

TimeSelect.propTypes = {
  onSelect: PropTypes.func.isRequired
}

export default TimeSelect
{'fraction_non_alphanumeric': 0.13596138374899436, 'fraction_numerical': 0.0016090104585679806, 'mean_word_length': 3.7662835249042144, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, 'https://': 2, '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': '4287687', 'n_tokens_mistral': 367, 'n_tokens_neox': 375, 'n_words': 85}