powered by
Learn more at https://getbootstrap.com/docs/5.1/components/alerts/.
bs_alert(x, div_attr = c(class = "alert alert-primary"))
A string of HTML.
A string, the HTML or text to display in the alert.
A named list or named vector, names are attribute names and values are attribute values. Added to the div containing the alert.
bs_alert( "Hello" )
Run the code above in your browser using DataLab