mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
use a button instead of link
This commit is contained in:
parent
21a512fce3
commit
3bb08b394c
@ -1,5 +1,6 @@
|
|||||||
import React, { PropTypes } from 'react';
|
import React, { PropTypes } from 'react';
|
||||||
import SelectStrategies from './select-strategies-container';
|
import SelectStrategies from './select-strategies-container';
|
||||||
|
import Button from 'react-toolbox/lib/button';
|
||||||
|
|
||||||
class AddStrategiesToToggle extends React.Component {
|
class AddStrategiesToToggle extends React.Component {
|
||||||
constructor () {
|
constructor () {
|
||||||
@ -32,7 +33,7 @@ class AddStrategiesToToggle extends React.Component {
|
|||||||
renderAddLink () {
|
renderAddLink () {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<a href="#" onClick={this.showConfigure}>Add strategy</a>
|
<Button icon="add" accent onClick={this.showConfigure}>Add strategy</Button>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user