|
@@ -32,6 +32,7 @@ class Footer extends Component {
|
|
|
const { filter } = this.props;
|
|
|
return (
|
|
|
<View style={styles.container}>
|
|
|
+ <Text>{this.props.count} count</Text>
|
|
|
<View style={styles.filters}>
|
|
|
<TouchableOpacity
|
|
|
onPress={() => this.props.onFilter('ALL')}
|
|
@@ -55,6 +56,7 @@ class Footer extends Component {
|
|
|
}
|
|
|
|
|
|
Footer.propTypes = {
|
|
|
+ count: React.PropTypes.number,
|
|
|
filter: React.PropTypes.string,
|
|
|
onFilter: React.PropTypes.func
|
|
|
};
|