Create a wrapper div for pannels
Usage
wrapper(
...,
bg = c("default", "primary", "secondary", "warning", "info", "danger", "success")
)
Examples
wrapper(altPanel("hello"), shiny::mainPanel("test"))
#> <div class="xwrapper card-pro-wrapper bg-default">
#> <div class="col-12 col-md-4 ">
#> <form class="well" role="complementary">hello</form>
#> </div>
#> <div class="col-sm-8" role="main">test</div>
#> </div>
wrapper(shiny::mainPanel("hello"), shiny::column(width = 2, "test"))
#> <div class="xwrapper card-pro-wrapper bg-default">
#> <div class="col-sm-8" role="main">hello</div>
#> <div class="col-sm-2">test</div>
#> </div>