R/utils_button.R

Defines functions button

button <- function(id, img) {
  HTML(str_c('
    <button id="', id, '" type="button" class="btn btn-default action-button shiny-bound-input">
      <img src="img/', img, '.png" />
    </button>
  '))
}
pchabros/appsilon documentation built on Feb. 4, 2021, 7:23 a.m.