filterItems = ( event ) => {
...
return result
}
<Filtered filterItems={this.filterItems} />
console.log(this.props);
filterItems = ( event ) => {
...
this.setState( {items} )
}
render() {
return (
<div>
<Filter filterItems={this.filterItems} />
{
this.state.filters.length
? <Filtered items={this.state.items} />
: <Item />
}
</div>
)
}