package com.reactnativenavigation.params; import java.util.List; public class ContextualMenuParams { public List buttons; public TitleBarLeftButtonParams leftButton; public NavigationParams navigationParams; public void setButtonsColor(StyleParams.Color buttonColor) { for (ContextualMenuButtonParams button : buttons) { button.color = buttonColor; } leftButton.color = buttonColor; } }