|
|
|
@ -91,7 +91,11 @@ class App extends React.Component {
|
|
|
|
|
),
|
|
|
|
|
filterIcon: <Icon type="smile-o" style={{ color: this.state.filtered ? '#108ee9' : '#aaa' }} />,
|
|
|
|
|
filterDropdownVisible: this.state.filterDropdownVisible,
|
|
|
|
|
onFilterDropdownVisibleChange: visible => this.setState({ filterDropdownVisible: visible }, () => this.searchInput.focus()),
|
|
|
|
|
onFilterDropdownVisibleChange: (visible) => {
|
|
|
|
|
this.setState({
|
|
|
|
|
filterDropdownVisible: visible,
|
|
|
|
|
}, () => this.searchInput.focus());
|
|
|
|
|
},
|
|
|
|
|
}, {
|
|
|
|
|
title: 'Age',
|
|
|
|
|
dataIndex: 'age',
|
|
|
|
|