---
title: "BasicAlertDialogOverride"
description: "Interface that allows libraries to override the behavior of the [BasicAlertDialog] component.

To override this component, implement the member function of this interface, then provide the
implementation to [LocalBasicAlertDialogOverride] in the Compose hierarchy."
type: "interface"
---

<div class='type'>Interface</div>


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

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



```kotlin
@ExperimentalMaterial3ComponentOverrideApi
interface BasicAlertDialogOverride
```


Interface that allows libraries to override the behavior of the `BasicAlertDialog` component.

To override this component, implement the member function of this interface, then provide the
implementation to `LocalBasicAlertDialogOverride` in the Compose hierarchy.


## Functions

```kotlin
@Composable fun BasicAlertDialogOverrideScope.BasicAlertDialog()
```


Behavior function that is called by the `BasicAlertDialog` component.



