powered by
This function makes it a little easier to make Bootstrap-friendly buttons; it wraps htmltools::tags for buttons.
htmltools::tags
bs_button( label, button_type = c("default", "primary", "success", "info", "warning", "danger"), button_size = c("default", "large", "small", "extra-small"), ... )
Object with S3 class, shiny.tag, <button/>.
shiny.tag
<button/>
character (HTML), button label
character, one of the standard Bootstrap types
character, size of the button
attributes (named arguments) and children (unnamed arguments) of the button, passed to
https://getbootstrap.com/docs/3.3/css/#buttons
bs_button("Click me", button_type = "primary", button_size = "small")
Run the code above in your browser using DataLab