Help Needed....Folder Icon and File Icons Needed
jmandivarapu1 opened this issue · 1 comments
jmandivarapu1 commented
jmandivarapu1 commented
Added this and it worked
const CustomHeader = ({ node, style, prefix }) =>{
const iconType = node.children ? 'folder' : 'file-text';
const iconClass = `fa fa-${iconType}`;
const iconStyle = {marginRight: '5px'};
return(
<div style={style.base}>
<div style={{ ...style.title }}>
<i className={iconClass} style={iconStyle}/>
{node.name}
{/* {`<3 ${node.name.toUpperCase()}`} */}
</div>
</div>
)
}