R/insert_remove_element_ui.R

Defines functions insert_remove_element_ui

Documented in insert_remove_element_ui

#' Insert Remove Element UI
#'
#' @param id A shiny ID
#' @param button_label A string
#'
#' @export
insert_remove_element_ui <- function(id, button_label = "Add UI element"){
    ns <- shiny::NS(id)

    shiny::actionButton(ns("add_button"), button_label)
}
CRI-iAtlas/iatlas.modules2 documentation built on Dec. 19, 2024, 8:14 p.m.