<commit_before>import React from 'react';
import Button from '../button';
import Icon from '../icon';
import Dropdown from './dropdown';
const ButtonGroup = Button.Group;

const align = {
  points: ['tr', 'br'],
  overlay: {
    adjustX: 1,
    adjustY: 1,
  },
  offset: [0, 3],
  targetOffset: [0, 0],
};

export default React.createClass({
  getDefaultProps() {
    return {
      align,
      type: 'default',
    };
  },
  render() {
    return (
      <ButtonGroup className="ant-dropdown-button">
        <Button type={this.props.type}>
          {this.props.children}
        </Button>
        <Dropdown {...this.props}>
          <Button type={this.props.type}>
            <Icon type="down" /><commit_msg>update dropdown offset<commit_after>import React from 'react';
import Button from '../button';
import Icon from '../icon';
import Dropdown from './dropdown';
const ButtonGroup = Button.Group;

const align = {
  points: ['tr', 'br'],
  overlay: {
    adjustX: 1,
    adjustY: 1,
  },
  offset: [0, 4],
  targetOffset: [0, 0],
};

export default React.createClass({
  getDefaultProps() {
    return {
      align,
      type: 'default',
    };
  },
  render() {
    return (
      <ButtonGroup className="ant-dropdown-button">
        <Button type={this.props.type}>
          {this.props.children}
        </Button>
        <Dropdown {...this.props}>
          <Button type={this.props.type}>
            <Icon type="down" />
{'fraction_non_alphanumeric': 0.16539263377345378, 'fraction_numerical': 0.008339124391938846, 'mean_word_length': 2.486682808716707, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '4027567', 'n_tokens_mistral': 456, 'n_tokens_neox': 443, 'n_words': 116}