powered by
This function makes it a little easier to make Bootstrap-friendly buttons; it wraps the [htmltools::tags()] function for buttons.
bs_button(label, button_type = c("default", "primary", "success", "info", "warning", "danger"), ...)
character (HTML), button label
character, one of the standard Bootstrap types
attributes (named arguments) and children (unnamed arguments) of the button, passed to htmltools::tag
htmltools::tag
htmltools::tag, <button/>
<button/>
http://getbootstrap.com/css/#buttons
# NOT RUN { bs_button("Click me", button_type = "primary") # }
Run the code above in your browser using DataLab