#' ui_program
#'
#' returns a re-usable user interface element
#'
#' @author Reinhard Simon
#' @param type of ui Element; default is a tab in a shiny dashboard
#' @param title display title
#' @param name a reference name
#' @param output name of output element
#' @export
ui_program <- function(type = "tab", title = "Breeding program configuration",
name = "resource_program",
output = "hot_program"){
shinydashboard::tabItem(tabName = name,
shiny::fluidRow(
shinydashboard::box(height = 500,
title = title,
rhandsontable::rHandsontableOutput(output)
)
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.