/* cfb-editor (C) 2017-present SheetJS -- http://sheetjs.com */ import React, { Component } from 'react'; import { easyComp } from 'react-easy-state'; import { Link } from 'react-router-dom'; import { Icon } from 'react-fa'; import './TreeList.css'; import store from '../state'; import { fix_string } from '../utils/misc'; import Tooltip from '../components/Tooltip'; import { decode_msi_name } from '../utils/misc'; class TreeList extends Component { constructor(props) { super(props); this.exportFile = this.exportFile.bind(this); this.renameFile = this.renameFile.bind(this); this.erase = this.erase.bind(this); } exportFile() { this.props.exportFile(); } renameFile() { this.props.renameFile(); } erase() { this.props.erase(); } render() { if(store.isEmpty()) return (
 
); return (
{`Files in ${store.fname}`}
Archive Operations
); } } export default easyComp(TreeList);