bs_alert | R Documentation |
Learn more at https://getbootstrap.com/docs/5.1/components/alerts/.
bs_alert(x, div_attr = c(class = "alert alert-primary"))
x |
A string, the HTML or text to display in the alert. |
div_attr |
A named list or named vector, names are attribute names and values are attribute values. Added to the div containing the alert. |
A string of HTML.
bs_alert( "Hello" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.