Creates a Material UI page without using CssBaseline, so
you can use regular Shiny inputs or shiny.router.
Usage
shinyMaterialUIPage(..., suppressBootstrap = TRUE, debug_react = FALSE)
Arguments
- ...
The contents of the document body.
- suppressBootstrap
Whether to suppress Bootstrap.
- debug_react
Whether to enable react debug mode. Default to FALSE.
Value
html object with 'margin:0' which can be passed as the UI of a Shiny app.
Details
The Bootstrap library is suppressed by default, as it doesn't work well
with Material UI in general. Some default Material UI styles are apply, i.e. the
margin is removed for all browser and the font size.
https://mui.com/material-ui/react-css-baseline/