import {createStyles, fade, SvgIcon, SvgIconProps, Theme, withStyles} from "@material-ui/core"; import {TreeItem, TreeItemProps} from "@material-ui/lab"; export function MinusSquare(props: SvgIconProps) { // noinspection LongLine return ( {/* tslint:disable-next-line: max-line-length */} ); } export function PlusSquare(props: SvgIconProps) { // noinspection LongLine return ( {/* tslint:disable-next-line: max-line-length */} ); } export const StyledTreeItem = withStyles((theme: Theme) => createStyles({ iconContainer: { '& .close': { opacity: 0.3, }, }, group: { marginLeft: 5, marginBottom: 5, paddingLeft: 8, paddingBottom: 8, borderLeft: `1px dashed ${fade(theme.palette.text.primary, 0.4)}`, borderBottom: `1px dashed ${fade(theme.palette.text.primary, 0.4)}`, borderRadius: "0 0 0px 5px", }, }), )((props: TreeItemProps) => );