[PCCompat > Components > Settings] ButtonItem: Fix wrong variable name
This commit is contained in:
parent
1eabecc0c9
commit
5522c2f9d7
|
@ -24,7 +24,7 @@ export default class TextInput extends React.PureComponent {
|
||||||
shouldShow: this.props.tooltipText !== ''
|
shouldShow: this.props.tooltipText !== ''
|
||||||
}, () => React.createElement(OriginalButton,
|
}, () => React.createElement(OriginalButton,
|
||||||
{
|
{
|
||||||
color: this.props.success ? OriginalButton.Colors.GREEN : (this.props.color || Buttons.Colors.BRAND),
|
color: this.props.success ? OriginalButton.Colors.GREEN : (this.props.color || OriginalButton.Colors.BRAND),
|
||||||
disabled: this.props.disabled,
|
disabled: this.props.disabled,
|
||||||
onClick: () => this.props.onClick(),
|
onClick: () => this.props.onClick(),
|
||||||
style: { marginLeft: 5 }
|
style: { marginLeft: 5 }
|
||||||
|
|
Loading…
Reference in New Issue