Skip to content

pvictor/shinyReactWidgets

Repository files navigation

shinyReactWidgets

ReactR Widgets for Shiny apps

Installation

You can install from GitHub:

# you need branch 'input-binding' from ReactR
remotes::install_github("react-R/reactR@input-binding")

remotes::install_github("pvictor/shinyReactWidgets")

react-select

Widget for react-select

library(shiny)
library(shinyReactWidgets)

ui <- fluidPage(
  tags$h1("react-select example"),

  select_input(
    inputId = "select",
    choices = month.name,
    multi = FALSE
  ),

  verbatimTextOutput("res")
)

server <- function(input, output, session) {

  output$res <- renderPrint({
    input$select
  })

}

shinyApp(ui, server)

About

React widgets for Shiny apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published