<commit_before>import React, {Component} from "react";
import { PropTypes } from "prop-types";
import "./styles.less";
import {CollapseTree, ExpandTree} from "@dnnsoftware/dnn-react-common";

export default class PersonaBarExpandCollapseIcon extends Component {

    render(){
        const {isOpen, item} = this.props;
        /*eslint-disable react/no-danger*/
        return(
            <div className="parent-expand-icon">
                {isOpen ? <div id={`collapse-${item.name}`} className="treeview-parent-collapse-button"  dangerouslySetInnerHTML={{ __html: CollapseTree }} /> : <div id={`expand-${item.name}`} className="treeview-parent-expand-button" dangerouslySetInnerHTML={{ __html: ExpandTree }} /> }
            </div>
        );
    }
}

PersonaBarExpandCollapseIcon.propTypes = {
    isOpen: PropTypes.bool,
    item: PropTypes.object.isRequired
};<commit_msg>- Importing SvgIcons to reference missing icons<commit_after>import React, {Component} from "react";
import { PropTypes } from "prop-types";
import "./styles.less";
import { SvgIcons } from "@dnnsoftware/dnn-react-common";

export default class PersonaBarExpandCollapseIcon extends Component {

    render(){
        const {isOpen, item} = this.props;
        /*eslint-disable react/no-danger*/
        return(
            <div className="parent-expand-icon">
                {isOpen ? <div id={`collapse-${item.name}`} className="treeview-parent-collapse-button" dangerouslySetInnerHTML={{ __html: SvgIcons.CollapseTree }} /> : <div id={`expand-${item.name}`} className="treeview-parent-expand-button" dangerouslySetInnerHTML={{ __html: SvgIcons.ExpandTree }} /> }
            </div>
        );
    }
}

PersonaBarExpandCollapseIcon.propTypes = {
    isOpen: PropTypes.bool,
    item: PropTypes.object.isRequired
};
{'fraction_non_alphanumeric': 0.14044637996733805, 'fraction_numerical': 0.0, 'mean_word_length': 3.2350230414746544, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6653994', 'n_tokens_mistral': 550, 'n_tokens_neox': 548, 'n_words': 107}