[android-components](../../index.md) / [mozilla.components.browser.menu2.candidate](../index.md) / [TextMenuCandidate](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`TextMenuCandidate(text: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, start: `[`MenuIcon`](../-menu-icon.md)`? = null, end: `[`MenuIcon`](../-menu-icon.md)`? = null, textStyle: `[`TextStyle`](../-text-style/index.md)` = TextStyle(), containerStyle: `[`ContainerStyle`](../-container-style/index.md)` = ContainerStyle(), effect: `[`MenuCandidateEffect`](../-menu-candidate-effect.md)`? = null, onClick: () -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` = {})`

Interactive menu option that displays some text.

