Update reflex/components/radix/themes/components/context_menu.py

Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
This commit is contained in:
Vy Nguyen 2024-12-09 23:10:42 -08:00 committed by GitHub
parent 4f6b316695
commit 399f04ddb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -237,7 +237,8 @@ class ContextMenuCheckbox(HighLevelCheckbox):
"""The component that contains the checkbox.""" """The component that contains the checkbox."""
tag = "ContextMenu.CheckboxItem" tag = "ContextMenu.CheckboxItem"
# Text to render as shortcut.
shortcut: Var[str]
class ContextMenu(ComponentNamespace): class ContextMenu(ComponentNamespace):
"""Menu representing a set of actions, displayed at the origin of a pointer right-click or long-press.""" """Menu representing a set of actions, displayed at the origin of a pointer right-click or long-press."""