Skip to content

Commit

Permalink
Update plugins/ui/src/deephaven/ui/elements/BaseElement.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Bender <[email protected]>
  • Loading branch information
wusteven815 and mofojed authored Nov 19, 2024
1 parent 3bb7878 commit 2cfebd7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions plugins/ui/src/deephaven/ui/elements/BaseElement.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ class BaseElement(Element):
"""
Base class for basic UI Elements that don't have any special rendering logic.
Must provide a name for the element.
Args:
name: The name of the element, e.g. "div", "span", "deephaven.ui.button", etc.
children: The children
key: The key for the element
_nullable_props: A list of props that can be nullable
props: The props for the element
"""

def __init__(
Expand Down

0 comments on commit 2cfebd7

Please sign in to comment.