<commit_before>import React from 'react';
import Button from './../Button';
import styles from './styles.css';
import classNames from 'classnames';

class SectionFooterClose extends React.Component {
    render() {
        return (
            <div className={classNames(styles.wrapper, {
                [this.props.className]: this.props.className}
                )}
            >
                <Button
                    className={styles.button}
                    onClick={this.props.onClick}
                >
                    {"LUKK"}
                </Button>
            </div>
        );
    }
}

SectionFooterClose.displayName = "Section Footer Close";
SectionFooterClose.propTypes = {
    className: React.PropTypes.string,
    onClick: React.PropTypes.func
};

export default SectionFooterClose;<commit_msg>refactored SectionFooterClose to function<commit_after>import React from 'react';
import Button from './../Button';
import styles from './styles.css';
import classNames from 'classnames';

function SectionFooterClose(props) {
  return (
    <div className={classNames(styles.wrapper, {
      [props.className]: props.className}
    )}>
      <Button
        className={styles.button}
        onClick={props.onClick}
        >
        {"LUKK"}
      </Button>
    </div>
  );
}

SectionFooterClose.displayName = "Section Footer Close";
SectionFooterClose.propTypes = {
  className: React.PropTypes.string,
  onClick: React.PropTypes.func
};

export default SectionFooterClose;
{'fraction_non_alphanumeric': 0.1157684630738523, 'fraction_numerical': 0.0, 'mean_word_length': 2.4027149321266967, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3374606', 'n_tokens_mistral': 411, 'n_tokens_neox': 402, 'n_words': 87}