# NOT RUN {
### A simple toast
# The `"fade"` and `"show"` classes have been added for the sake of
# these examples.
toast(
class = "fade show",
header = div("Header") %>%
margin(right = "auto"),
"Hello, world!"
)
### Styling pieces of a toast
toast(
class = "fade show",
list(
div("Notification") %>%
font(weight = "bold") %>%
margin(right = "auto"),
tags$small("1 min ago")
),
"Hello, world!"
)
# }
Run the code above in your browser using DataLab