mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
s/secundary/secondary
This commit is contained in:
parent
0914fa4d1a
commit
d2124638ba
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ nmodule.exports = ReactDOM.renderToString(
|
|||||||
</Button>
|
</Button>
|
||||||
</Column>
|
</Column>
|
||||||
<Column>
|
<Column>
|
||||||
<Button secundary>
|
<Button secondary>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
</Column>
|
</Column>
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user