Skip to contents

Render UI of settings creation card

Usage

render_settings_creation_card(
  i18n = character(),
  ns = character(),
  id = character(),
  title = character(),
  textfields = character(),
  textfields_width = "200px",
  dropdowns = character(),
  dropdowns_width = "200px"
)

Arguments

i18n

Translator object from shiny.i18n library

ns

Shiny namespace

id

ID of current tab / page (character)

title

Title used to create the card (character)

textfields

A character vector containing distinct textfields to render in the card (character)

textfields_width

Width of the textfields, CSS code, so it could be "100%", "200px" etc (character)

dropdowns

A character vector containing distinct dropdowns to render in the card (character)

dropdowns_width

Width of the dropdowns, CSS code, so it could be "100%", "200px" etc (character)

Value

Shiny UI elements / HTML code

Examples

if (FALSE) {
render_settings_creation_card(i18n = i18n, ns = NS("settings_dataset"), title = "create_dataset",
textfields = c("name", "description"), dropdowns = "data_source")
}