preview_component: Preview a UI component in a ShinyDashboard

Description Usage Arguments See Also Examples

Description

Preview a UI component in a ShinyDashboard

Usage

1
preview_component(component, title = "Preview", use_box = TRUE, ...)

Arguments

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 preview_module

See Also

Other preview: preview_datatable, preview_module

Examples

1
2
3
4
5
## Not run: 
 ui <- DT::datatable(mtcars, width = '100%', extension = 'Responsive')
 preview_component(ui)

## End(Not run)

ramnathv/satin documentation built on March 7, 2020, 2:03 a.m.