Skip to content

Commit

Permalink
Fixed naming collision with imported types + added **props to combo_b…
Browse files Browse the repository at this point in the history
…ox.py (deephaven#201)
  • Loading branch information
bmingles committed Jun 21, 2024
1 parent 8cbee84 commit 45c3fe9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion plugins/ui/src/deephaven/ui/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
from .text_field import text_field
from .toggle_button import toggle_button
from .view import view
from .types import *

from . import html

Expand Down
3 changes: 2 additions & 1 deletion plugins/ui/src/deephaven/ui/components/combo_box.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import annotations

from typing import Callable
from typing import Callable, Any

from .types import (
FocusEventCallable,
Expand Down Expand Up @@ -127,6 +127,7 @@ def combo_box(
aria_details: str | None = None,
UNSAFE_class_name: str | None = None,
UNSAFE_style: CSSProperties | None = None,
**props: Any,
) -> ComboBoxElement:
"""
A combo box that can be used to search or select from a list. Children should be one of five types:
Expand Down

0 comments on commit 45c3fe9

Please sign in to comment.