We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a96032f commit d3802c9Copy full SHA for d3802c9
shiny/express/ui/_insert.py
@@ -8,7 +8,7 @@
8
@ui.hold() pass the UI as a value without displaying it.
9
"""
10
11
-from typing import Literal, Optional
+from typing import Literal, Optional, Union
12
13
from htmltools import TagAttrs, TagChild
14
@@ -21,8 +21,8 @@
21
def insert_accordion_panel(
22
id: str,
23
panel_title: str,
24
- *panel_contents: TagChild | TagAttrs,
25
- panel_value: str | MISSING_TYPE | None = MISSING,
+ *panel_contents: Union[TagChild, TagAttrs],
+ panel_value: Union[str, MISSING_TYPE, None] = MISSING,
26
panel_icon: TagChild = None,
27
target: Optional[str] = None,
28
position: Literal["after", "before"] = "after",
0 commit comments