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

# &lt;init&gt;

`DrawableMenuIcon(context: <ERROR CLASS>, @DrawableRes resource: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, tint: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`? = null, effect: `[`MenuIconEffect`](../-menu-icon-effect.md)`? = null)``DrawableMenuIcon(drawable: <ERROR CLASS>?, tint: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`? = null, effect: `[`MenuIconEffect`](../-menu-icon-effect.md)`? = null)`

Menu icon that displays a drawable.

