s/secundary/secondary

This commit is contained in:
Sérgio Ramos 2016-10-26 12:42:59 +01:00
parent 0914fa4d1a
commit d2124638ba
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ const styles = require('./style.css');
const Button = ({
disabled = false,
secundary = false,
secondary = false,
className,
style,
children
@ -12,7 +12,7 @@ const Button = ({
const cn = classNames(
className,
styles.button,
secundary ? styles.secundary : styles.primary,
secondary ? styles.secondary : styles.primary,
disabled ? styles.inactive : '',
);
@ -31,7 +31,7 @@ Button.propTypes = {
children: React.PropTypes.node,
className: React.PropTypes.string,
disabled: React.PropTypes.bool,
secundary: React.PropTypes.bool,
secondary: React.PropTypes.bool,
style: React.PropTypes.object
};

View File

@ -22,7 +22,7 @@ nmodule.exports = ReactDOM.renderToString(
</Button>
</Column>
<Column>
<Button secundary>
<Button secondary>
Cancel
</Button>
</Column>

View File

@ -11,7 +11,7 @@
color: #FFFFFF;
}
&.secundary {
&.secondary {
background: #FFFFFF;
border: 1px solid #D8D8D8;
color: #646464;