Description Usage Arguments See Also Examples
Preview a UI component in a ShinyDashboard
1 | preview_component(component, title = "Preview", use_box = TRUE, ...)
|
component |
A UI component to display in a shinydashboard. |
title |
A string indicating the title to display. |
use_box |
A boolean indicating if the component should be wrapped inside a box. |
... |
Additional arguments to pass on to |
Other preview: preview_datatable
,
preview_module
1 2 3 4 5 | ## Not run:
ui <- DT::datatable(mtcars, width = '100%', extension = 'Responsive')
preview_component(ui)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.