1
0
mirror of https://github.com/yldio/copilot.git synced 2024-09-21 13:53:51 +03:00

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 = ({ const Button = ({
disabled = false, disabled = false,
secundary = false, secondary = false,
className, className,
style, style,
children children
@ -12,7 +12,7 @@ const Button = ({
const cn = classNames( const cn = classNames(
className, className,
styles.button, styles.button,
secundary ? styles.secundary : styles.primary, secondary ? styles.secondary : styles.primary,
disabled ? styles.inactive : '', disabled ? styles.inactive : '',
); );
@ -31,7 +31,7 @@ Button.propTypes = {
children: React.PropTypes.node, children: React.PropTypes.node,
className: React.PropTypes.string, className: React.PropTypes.string,
disabled: React.PropTypes.bool, disabled: React.PropTypes.bool,
secundary: React.PropTypes.bool, secondary: React.PropTypes.bool,
style: React.PropTypes.object style: React.PropTypes.object
}; };

View File

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

View File

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