app.R

library(shiny)
library(starrating)

ui <- fluidPage(
  titlePanel("reactR HTMLWidget Example"),
  starratingOutput('widgetOutput')
)

server <- function(input, output, session) {
  output$widgetOutput <- renderStarrating(
    starrating("Hello world!")
  )
}

shinyApp(ui, server)
thisisnic/starrating documentation built on May 18, 2019, 1:32 p.m.