Skip to content

Commit

Permalink
move buttongroup spread
Browse files Browse the repository at this point in the history
  • Loading branch information
jbadan committed Jan 16, 2019
1 parent 7393b97 commit 514b862
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ Button.propTypes = {

export const ButtonGroup = ({children, ...props}) => {
return (
<div aria-label='Group label' className='fd-button-group'
role='group'
{...props}>
<div
{...props}
aria-label='Group label'
className='fd-button-group'
role='group'>
{children}
</div>
);
Expand Down

0 comments on commit 514b862

Please sign in to comment.