1
0
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:
sveisvei 2016-10-25 10:49:15 +02:00 committed by Ivar Conradi Østhus
parent 21a512fce3
commit 3bb08b394c

View File

@ -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>
); );
} }