<commit_before>import React from 'react';
import themeable from 'react-themeable';
import BaseComponent from './BaseComponent';
import Button from './Button';

export default class ButtonGroup extends BaseComponent {
  static defaultProps = {
    activeButtons: []
  };

  static defaultTheme = {
    buttonGroup: 'reui-button-group',
    button: Button.defaultTheme
  };

  render() {
    const theme = themeable(this._mixTheme());

    return (
      <div {...theme(1, 'buttonGroup')}>
        {this._prepareChildren()}
      </div>
    );
  }

  _prepareChildren() {
    return React.Children.map(this.props.children, (child, i) => {
      return React.cloneElement(child, {
        active: this._isButtonActive(i),
        theme: this._mixTheme().button
      });
    });
  }<commit_msg>Change ButtonGroup theme properties<commit_after>import React from 'react';
import themeable from 'react-themeable';
import BaseComponent from './BaseComponent';
import Button from './Button';

export default class ButtonGroup extends BaseComponent {
  static defaultProps = {
    activeButtons: []
  };

  static defaultTheme = {
    buttonGroup: 'reui-button-group',
    button: '',
    buttonDisabled: '',
    buttonActive: ''
  };

  render() {
    const theme = themeable(this._mixTheme());

    return (
      <div {...theme(1, 'buttonGroup')}>
        {this._prepareChildren()}
      </div>
    );
  }

  _prepareChildren() {
    return React.Children.map(this.props.children, (child, i) => {
      return React.cloneElement(child, {
        active: this._isButtonActive(i),
        theme: this._mixTheme()
      });
    });
  }
{'fraction_non_alphanumeric': 0.14022140221402213, 'fraction_numerical': 0.0012300123001230013, 'mean_word_length': 3.0472636815920398, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '1982153', 'n_tokens_mistral': 473, 'n_tokens_neox': 469, 'n_words': 108}