<commit_before>import ListCompositeActivity from '../ListCompositeActivity';
import LogButton from '../LogButton';
import ActionButton from '../ActionButton';
import React from 'react';
import classNames from 'classnames';
import styles from './styles.css';
const PropTypes = React.PropTypes;

function ActionItemDefault(props) {
  return (
    <div className={classNames(styles.wrapper, {[props.className]: props.className})}>
      <div className={styles.composite}>
        <ListCompositeActivity
          co2={props.co2}
          icon={props.iconSVG}
          points={props.points}
          title={props.title}
          />
      </div>
      <div className={styles.compositeButton}>
        <ActionButton
          className={styles.actionButton}
          icon={'icon-dots-vertical'}
          onClick={props.onActionClick}
          size={'standard'}
          />
        <LogButton
          className={styles.logButton}
          onClick={props.onLogClick}
          />
      </div>
    </div>
  );
}

ActionItemDefault.propTypes = {
  className: PropTypes.string,
  co2: PropTypes.number,
  iconSVG: PropTypes.string,
  onActionClick: PropTypes.func,
  onLogClick: PropTypes.func,
  points: PropTypes.number,
  title: PropTypes.string
};

export default ActionItemDefault;<commit_msg>Added logIcon prop to ActionItemDefault<commit_after>import ListCompositeActivity from '../ListCompositeActivity';
import LogButton from '../LogButton';
import ActionButton from '../ActionButton';
import React from 'react';
import classNames from 'classnames';
import styles from './styles.css';
const PropTypes = React.PropTypes;

function ActionItemDefault(props) {
  return (
    <div className={classNames(styles.wrapper, {[props.className]: props.className})}>
      <div className={styles.composite}>
        <ListCompositeActivity
          co2={props.co2}
          icon={props.iconSVG}
          points={props.points}
          title={props.title}
          />
      </div>
      <div className={styles.compositeButton}>
        <ActionButton
          className={styles.actionButton}
          icon={'icon-dots-vertical'}
          onClick={props.onActionClick}
          size={'standard'}
          />
        <LogButton
          icon={props.logIcon}
          className={styles.logButton}
          onClick={props.onLogClick}
          />
      </div>
    </div>
  );
}

ActionItemDefault.propTypes = {
  className: PropTypes.string,
  co2: PropTypes.number,
  iconSVG: PropTypes.string,
  logIcon: PropTypes.string,
  onActionClick: PropTypes.func,
  onLogClick: PropTypes.func,
  points: PropTypes.number,
  title: PropTypes.string
};

export default ActionItemDefault;
{'fraction_non_alphanumeric': 0.12117822520507084, 'fraction_numerical': 0.0022371364653243847, 'mean_word_length': 2.922514619883041, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '3078648', 'n_tokens_mistral': 728, 'n_tokens_neox': 751, 'n_words': 150}