View source: R/muiTreeDependency.R
| muiTreeViewDependency | R Documentation |
Mui X Tree View JS dependency
muiTreeViewDependency()
A list of HTML dependency objects (htmltools::htmlDependency)
that load the bundled MUI X Tree View JavaScript and its shared MUI Material
runtime. The muiMaterial dependency is listed first so its bundle (which
provides react, react-dom, @mui/material, @mui/system and the
emotion runtime that the tree view consumes as externals) loads before the
tree view script. Attach it to custom HTML when building a tree view by hand.
# Inspect the dependencies attached to every muiTreeView element.
muiTreeViewDependency()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.