mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
rename components
This commit is contained in:
parent
119e091de4
commit
58ff542abc
@ -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;
|
@ -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>
|
||||
|
@ -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;
|
Loading…
Reference in New Issue
Block a user