Skip to content
React widgets for Shiny apps
Branch: master
Clone or download
Latest commit 44dea3c Mar 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
imgs custom container Mar 7, 2019
inst/www/shinyReactWidgets/select_input
man custom container Mar 7, 2019
srcjs bug label & clearable Mar 11, 2019
.Rbuildignore
.gitignore init react-select Mar 7, 2019
DESCRIPTION
LICENSE
NAMESPACE
README.md install instructions Mar 7, 2019
app.R custom container Mar 7, 2019
package.json use uglifyjs Mar 8, 2019
webpack.config.js use uglifyjs Mar 8, 2019
yarn.lock

README.md

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)
You can’t perform that action at this time.