# Create a `wa-dropdown-item` component

Generated wrapper for the Web Awesome `wa-dropdown-item` component.
Generated from Web Awesome metadata.

## Usage

``` r
wa_dropdown_item(
  ...,
  id = NULL,
  class = NULL,
  style = NULL,
  value = NULL,
  checked = NULL,
  disabled = NULL,
  dir = NULL,
  lang = NULL,
  submenu_open = NULL,
  type = NULL,
  variant = NULL,
  details = NULL,
  icon = NULL,
  submenu = NULL
)
```

## Arguments

- ...:

  Child content for the component's default slot.

- id:

  Optional DOM id attribute for HTML, CSS, and JS targeting.

- class:

  Optional CSS class string.

- style:

  Optional inline CSS style string.

- value:

  String. An optional value for the menu item. This is useful for
  determining which item was selected when listening to the dropdown's
  `wa-select` event.

- checked:

  Boolean. Default: `FALSE`. Set to TRUE to check the dropdown item.
  Only valid when `type` is `checkbox`.

- disabled:

  Boolean. Default: `FALSE`. Disables the dropdown item.

- dir:

  String. Optional Web Awesome attribute.

- lang:

  String. Optional Web Awesome attribute.

- submenu_open:

  Boolean. Default: `FALSE`. Whether the submenu is currently open.

- type:

  Enumerated string. Allowed values: `checkbox`, `normal`. Default:
  `normal`. Set to `checkbox` to make the item a checkbox.

- variant:

  Enumerated string. Allowed values: `danger`, `default`. Default:
  `default`. The type of menu item to render.

- details:

  Additional content or details to display after the label.

- icon:

  An optional icon to display before the label.

- submenu:

  Submenu items, typically `<wa-dropdown-item>` elements, to create a
  nested menu.

## Value

An HTML tag for the component.

## Shiny Bindings

None.
