Skip to content

Commit fe7dbf2

Browse files
committed
docs: Add example to toast_header()
1 parent 060e34a commit fe7dbf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shiny/ui/_toast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def tagify(self, closable: bool = False) -> Tag:
337337

338338
return div({"class": "toast-header"}, *contents, **self.attribs)
339339

340-
340+
@add_example("toast")
341341
def toast_header(
342342
title: TagChild,
343343
*args: TagChild | TagAttrs,

0 commit comments

Comments
 (0)