Skip to content

Commit

Permalink
Make button text optional
Browse files Browse the repository at this point in the history
  • Loading branch information
zalmoxisus committed May 2, 2016
1 parent 486d6d4 commit 6952fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default class Button extends React.Component {
style={style}
>
<Icon />
<span style={styles.buttonText}>{children}</span>
{children && <span style={styles.buttonText}>{children}</span>}
</a>
);
}
Expand Down

0 comments on commit 6952fcb

Please sign in to comment.