modal_export_data <- function() {
showModal(
modalDialog(
box(
tags$p("something will go here"),
width = 12,
tags$style("<center>"),
selectInput(
inputId = "export_data",
label = tags$h4("Data export format:"),
choices = list(
"",
"edgelist",
"matrix"
),
width = "100%"
)
)
)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.