How to change the collapse/expand icon to right side of TreeView of material?
问题 I am trying to implement a tree using the material in Reactjs. But, according to my design, the button to collapse and expand should be on the right side. Also, I am getting an error when added an icon in TreeItem like this: <TreeItem nodeId="1" label="RSMSSB" icon={FolderIcon}> Whole code: import React from "react"; import { makeStyles } from "@material-ui/core/styles"; import TreeView from "@material-ui/lab/TreeView"; import ExpandMoreIcon from "@material-ui/icons/ExpandMore"; import