Skip to content

Commit feb2ae8

Browse files
committed
added channel section
1 parent c871f58 commit feb2ae8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React, {Component} from 'react';
2+
import ChannelForm from './ChannelForm.jsx';
3+
import channelList from './ChannelList';
4+
5+
class ChannelSection extends Component {
6+
render(){
7+
return(
8+
<div>
9+
<ChannelList {...this.props} />
10+
<ChannelForm {...this.props} />
11+
</div>
12+
)
13+
}
14+
}
15+
16+
ChannelSection.propTypes = {
17+
channels: React.PropTypes.array.isRequired,
18+
setChannel: React.PropTypes.func.isRequired,
19+
addChannel: React.PropTypes.func.isRequired
20+
}
21+
22+
export default ChannelSection;

0 commit comments

Comments
 (0)