2019-06-24 14:33:15 +00:00
# DropDownItem
## Usage
```js
2019-09-10 13:15:17 +00:00
import { DropDownItem } from "asc-web-components";
2019-06-24 14:33:15 +00:00
```
#### Description
2019-09-10 13:15:17 +00:00
Is a item of DropDown component.
An item can act as separator, header, or container.
When used as container, it will retain all styling features and positioning. To disable hover effects in container mode, you can use *noHover* property.
2019-06-24 14:33:15 +00:00
#### Usage
```js
2019-09-10 13:15:17 +00:00
< DropDownItem
isSeparator={false}
isHeader={false}
label="Button 1"
icon="NavLogoIcon"
onClick={() => console.log("Button 1 clicked")}
/>
2019-06-24 14:33:15 +00:00
```
#### Properties
2019-09-10 13:15:17 +00:00
| Props | Type | Required | Values | Default | Description |
| ------------- | -------- | :------: | ------ | --------------- | ---------------------------------------------------------- |
| `isSeparator` | `bool` | - | - | `false` | Tells when the dropdown item should display like separator |
| `isHeader` | `bool` | - | - | `false` | Tells when the dropdown item should display like header |
| `label` | `string` | - | - | `Dropdown item` | Dropdown item text |
| `icon` | `string` | - | - | - | Dropdown item icon |
| `onClick` | `func` | - | - | - | What the dropdown item will trigger when clicked |
| `disabled` | `bool` | - | - | `false` | Tells when the dropdown item should display like disabled |
| `noHover` | `bool` | - | - | `false` | Disable default style hover effect |