[android-components](../../../index.md) / [mozilla.components.ui.doorhanger](../../index.md) / [DoorhangerPrompt](../index.md) / [Button](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`Button(label: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, positive: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, onClick: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`