<div class='type'>Composable Component</div>





<a id='references'></a>



<h2 id="dropdownmenuitem-onclick-modifier-enabled-contentpadding-interactionsource-content">DropdownMenuItem</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@Composable
expect fun DropdownMenuItem(
    onClick: () -> Unit,
    modifier: Modifier = Modifier,
    enabled: Boolean = true,
    contentPadding: PaddingValues = MenuDefaults.DropdownMenuItemContentPadding,
    interactionSource: MutableInteractionSource? = null,
    content: @Composable RowScope.() -> Unit,
)
```


#### Parameters

| | |
| --- | --- |
| onClick | Called when the menu item was clicked |
| modifier | The modifier to be applied to the menu item |
| enabled | Controls the enabled state of the menu item - when `false`, the menu item will not be clickable and `onClick` will not be invoked |
| contentPadding | the padding applied to the content of this menu item |
| interactionSource | an optional hoisted `MutableInteractionSource` for observing and emitting `Interaction`s for this menu item. You can use this to change the menu item's appearance or preview the menu item in different states. Note that if `null` is provided, interactions will still happen internally. |
| content | the content of this menu item |






<hr class="docs-overload-divider">


<h2 id="dropdownmenuitem-onclick-modifier-enabled-contentpadding-interactionsource-content-2">DropdownMenuItem</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@Composable
actual fun DropdownMenuItem(
    onClick: () -> Unit,
    modifier: Modifier,
    enabled: Boolean,
    contentPadding: PaddingValues,
    interactionSource: MutableInteractionSource?,
    content: @Composable RowScope.() -> Unit,
): Unit
```