# NOT RUN {
library(shiny)
# Initialize Bootstrap 4 with Bootstrap 3 compatibility shim
bs_theme_new("4+3")
# Customize variables. These must always come between the
# call to bs_theme_new() and the UI definition!
bs_theme_add_variables(primary = "#008BA2")
ui <- fluidPage(
bootstrap(),
h1("Heading 1"),
h2("Heading 2"),
p(
"Paragraph text;",
tags$a(href = "https://www.rstudio.com", "a link")
),
p(
actionButton("cancel", "Cancel"),
actionButton("continue", "Continue", class = "btn-primary")
),
tabsetPanel(
tabPanel("First tab",
"The contents of the first tab"
),
tabPanel("Second tab",
"The contents of the second tab"
)
)
)
server <- function(input, output, session) {
}
if (interactive()) {
run_with_themer(shinyApp(ui, server))
}
# }
Run the code above in your browser using DataLab