18 lines
411 B
JavaScript

import React from 'react';
import PropTypes from 'prop-types';
/** ButtonGroup component description from docgen */
export const ButtonGroup = ({ background, children }) => (
<div style={{ background }}>{children}</div>
);
ButtonGroup.defaultProps = {
background: '#ff0',
children: null,
};
ButtonGroup.propTypes = {
background: PropTypes.string,
children: PropTypes.arrayOf(PropTypes.element),
};