mirror of
https://github.com/yldio/copilot.git
synced 2024-11-13 06:40:06 +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 = ({
|
||||
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
|
||||
};
|
||||
|
||||
|
@ -22,7 +22,7 @@ nmodule.exports = ReactDOM.renderToString(
|
||||
</Button>
|
||||
</Column>
|
||||
<Column>
|
||||
<Button secundary>
|
||||
<Button secondary>
|
||||
Cancel
|
||||
</Button>
|
||||
</Column>
|
||||
|
@ -11,7 +11,7 @@
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
&.secundary {
|
||||
&.secondary {
|
||||
background: #FFFFFF;
|
||||
border: 1px solid #D8D8D8;
|
||||
color: #646464;
|
||||
|
Loading…
Reference in New Issue
Block a user