1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00

rename components

This commit is contained in:
ivaosthu 2016-10-26 12:14:39 +02:00
parent 119e091de4
commit 58ff542abc
3 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
import React, { PropTypes } from 'react';
import ConfigureStrategy from './configure-strategy';
import ConfigureStrategy from './strategy-configure';
import { List } from 'react-toolbox/lib/list';
class ConfigureStrategies extends React.Component {
class StrategiesList extends React.Component {
static propTypes () {
return {
@ -40,4 +40,4 @@ class ConfigureStrategies extends React.Component {
}
}
export default ConfigureStrategies;
export default StrategiesList;

View File

@ -1,5 +1,5 @@
import React, { PropTypes } from 'react';
import ConfigureStrategies from './configure-strategies';
import StrategiesList from './strategies-list';
import AddStrategy from './strategies-add';
const headerStyle = {
@ -33,7 +33,7 @@ class StrategiesSection extends React.Component {
<div>
<div>
<h5 style={headerStyle}>Strategies:</h5>
<ConfigureStrategies {...this.props} />
<StrategiesList {...this.props} />
<AddStrategy {...this.props} />
</div>
</div>

View File

@ -3,7 +3,7 @@ import Input from 'react-toolbox/lib/input';
import Button from 'react-toolbox/lib/button';
import { ListItem } from 'react-toolbox/lib/list';
class ConfigureStrategies extends React.Component {
class StrategyConfigure extends React.Component {
static propTypes () {
return {
@ -77,4 +77,4 @@ class ConfigureStrategies extends React.Component {
}
}
export default ConfigureStrategies;
export default StrategyConfigure;