<commit_before>import React from 'react';

var fieldValues = {
  name     : null,
  email    : null,
  password : <PASSWORD>
}

export default class Register extends React.Component {
  render() {   
    
    return (

      <div>
        <div>
          <label>Name: </label>
          <input type="text" ref="name" defaultValue={fieldValues.name} />
        </div>
        <div>
          <label>Password: </label>
          <input type="password" ref="password" defaultValue={fieldValues.password} />
        </div>
        <div>
          <label>Email: </label>
          <input type="email" ref="email" defaultValue={fieldValues.email} />
        </div>
        <div>
          <button className="btn btn-warning btn-lg glyphicon glyphicon-user" onClick={this.onClick}> Register!</button>
        </div>
      </div>
    )
  }
}<commit_msg>added Register dumb component<commit_after>import React from 'react';

var fieldValues = {
  name     : null,
  email    : null,
  password : <PASSWORD>
}

export default class Register extends React.Component {
  static propTypes = {
    onClickHandler: React.propTypes.func.isRequired
  }

  render() {   
    
    return (
      <div>
        <div>
          <label>Name: </label>
          <input type="text" ref="name" defaultValue={fieldValues.name} />
        </div>
        <div>
          <label>Password: </label>
          <input type="password" ref="password" defaultValue={fieldValues.password} />
        </div>
        <div>
          <label>Email: </label>
          <input type="email" ref="email" defaultValue={fieldValues.email} />
        </div>
        <div>
          <button className="btn btn-warning btn-lg glyphicon glyphicon-user" onClick={this.props.onClickHandler}> Register!</button>
        </div>
      </div>
    )
  }
}
{'fraction_non_alphanumeric': 0.14126807563959956, 'fraction_numerical': 0.0, 'mean_word_length': 2.1728395061728394, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '3064219', 'n_tokens_mistral': 539, 'n_tokens_neox': 532, 'n_words': 119}