react table dropdown
<DropdownButton type="primary" trigger={['click']} onClick={() => this.detail(item)} overlay={( <Menu onClick={(e) => this.handleClick(e, item)}> <MenuItem key="/1">menu1</MenuItem> <MenuItem key="/2">menu2</MenuItem> <MenuItem key="/3">menu3</MenuItem> </Menu> )}>mainButton </DropdownButton>
detail(item) { this.props.history.replace({ pathname: '/0', state: { item: item } }) } handleClick(e, item) { this.props.history.replace({ pathname: e.key, state: { item: item } }) }