update code style

pull/5682/merge
afc163 8 years ago
parent 55fc44aba4
commit f28c328442

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

Loading…
Cancel
Save