- Home
- Interfaces
- DiscordContextMenu~MenuRadioItem
-
MenuRadioItem
-
Description
This item is used for creating radio selections in menus. Properties shown here are additional to those of the main MenuItem module:DiscordContextMenu~MenuItem
Note: for the
forceUpdateoption... Without this enabled, you will manually need to manage the state for the functional component. If you do not the toggle will appear to not update. @see https://reactjs.org/docs/hooks-reference.html#usestateParameters
Name Type Attributes Default Description props.checkedboolean <optional> false should the checkbox be checked
props.activeboolean <optional> false alias of
checkedprops.forceUpdateboolean <optional> true should the menu be force-updated after click
Details