Skip to content

Commit

Permalink
add static class to static buttons (#46)
Browse files Browse the repository at this point in the history
* add static class to static buttons

* fixed tests
  • Loading branch information
jdmg94 authored and couds committed Jun 22, 2018
1 parent 3f4ca48 commit dcda9be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ exports[`Button component Should render as a html button 1`] = `

exports[`Button component Should render as a static Button 1`] = `
<span
className="is-primary button"
className="is-primary is-static button"
disabled={false}
onClick={[Function]}
style={Object {}}
Expand Down
1 change: 1 addition & 0 deletions src/components/button/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export default class Button extends PureComponent {
[`is-${color}`]: color,
[`is-${size}`]: size,
[`is-${state}`]: state,
'is-static': isStatic,
'is-outlined': outlined,
'is-inverted': inverted,
'is-fullwidth': fullwidth,
Expand Down

0 comments on commit dcda9be

Please sign in to comment.