Web component for displaying YANG schema contents.
The component is currently available only for react.js framework.
Vue.js will be supported in the future.
Developed primarily for use with docusaurus docs framework.
- Generate json formatted data.
- Embed the component on your page.
Embed example in a .mdx file
import {YangTreeViewer} from "yang-tree-viewer"
import data from "./src/data/example-data.json"
<YangTreeViewer tree={data} sm-sort="true" css="standard"></YangTreeViewer>