powered by
Preview a UI component in a ShinyDashboard
preview_component(component, title = "Preview", use_box = TRUE, ...)
A UI component to display in a shinydashboard.
A string indicating the title to display.
A boolean indicating if the component should be wrapped inside a box.
Additional arguments to pass on to preview_module
preview_module
Other preview: preview_datatable, preview_module
preview_datatable
# NOT RUN { ui <- DT::datatable(mtcars, width = '100%', extension = 'Responsive') preview_component(ui) # }
Run the code above in your browser using DataLab