Skip to content

Commit

Permalink
icon button fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinengle committed Aug 21, 2018
1 parent dc539ef commit a749062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/IconButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default class IconButton extends React.Component {
const [ mods, {children, as, k, ...rest} ] = pickRest(this.props, ['primary', 'secondary', 'disabled'])
const As = as
return (
<As block='button' mods={{...mods, icon: 'true'}} {...rest}>
<As block='button' mods={{...mods, icon: true}} {...rest}>
<Icon {...{k}} />
</As>
)
Expand Down

0 comments on commit a749062

Please sign in to comment.