This function makes it a little easier to make Bootstrap-friendly buttons;
it wraps htmltools::tags
for buttons.
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
Object with S3 class, shiny.tag
, <button/>
.
bs_button("Click me", button_type = "primary", button_size = "small")
#> <button class="btn btn-primary btn-sm">Click me</button>