Skip to content

Commit ba944d7

Browse files
committed
data slots dialog
1 parent b1d6224 commit ba944d7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reflex_ui/components/base/dialog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,12 @@ def create(cls, *children, **props) -> BaseUIComponent:
234234
if description is not None
235235
else None
236236
),
237+
data_slot="dialog-header",
237238
class_name=ClassNames.HEADER,
238239
),
239240
Div.create(
240241
content,
242+
data_slot="dialog-content",
241243
class_name=ClassNames.CONTENT,
242244
),
243245
*children,

0 commit comments

Comments
 (0)