Skip to content

Commit

Permalink
Updates 05_sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettgman committed Jan 12, 2024
1 parent 6925463 commit 06371af
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions inst/examples/05_sliders/app.R
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
library(shiny)
library(bslib)

# Define UI for slider demo app ----
ui <- fluidPage(
ui <- page_sidebar(

# App title ----
titlePanel("Sliders"),

# Sidebar layout with input and output definitions ----
sidebarLayout(

# Sidebar to demonstrate various slider options ----
sidebarPanel(
title = "Sliders",
# Sidebar panel for inputs ----
sidebar =
sidebar(

# Input: Simple integer interval ----
sliderInput("integer", "Integer:",
Expand Down Expand Up @@ -44,14 +42,8 @@ ui <- fluidPage(

),

# Main panel for displaying outputs ----
mainPanel(

# Output: Table summarizing the values entered ----
tableOutput("values")

)
)
# Output: Table summarizing the values entered ----
tableOutput("values")
)

# Define server logic for slider examples ----
Expand Down

0 comments on commit 06371af

Please sign in to comment.