mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
Fix Dropdown Item import
This commit is contained in:
parent
417fbcbd03
commit
c9d5cf5aa4
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
import React from 'react';
|
||||
import { Button, ButtonToolbar, DropdownButton, DropdownItem } from 'react-bootstrap';
|
||||
import { Button, ButtonToolbar, DropdownButton, Dropdown } from 'react-bootstrap';
|
||||
|
||||
class ICAction extends React.Component {
|
||||
constructor(props) {
|
||||
|
@ -49,9 +49,9 @@ class ICAction extends React.Component {
|
|||
|
||||
render() {
|
||||
const actionList = this.props.actions.map(action => (
|
||||
<DropdownItem key={action.id} eventKey={action.id} active={this.state.selectedAction === action.id}>
|
||||
<Dropdown.Item key={action.id} eventKey={action.id} active={this.state.selectedAction === action.id}>
|
||||
{action.title}
|
||||
</DropdownItem>
|
||||
</Dropdown.Item>
|
||||
));
|
||||
|
||||
return <div>
|
||||
|
|
Loading…
Add table
Reference in a new issue