import React from 'react';
const RefreshDir = (prop) => {
    console.log("RefreshDir:prop", prop)
    const refreshDir = () => {
        console.log("RefreshDir:refreshDir", prop)
        prop.refreshDir(prop.filePath)
    };
    return (
        <a className="menuItemClick" onClick={refreshDir}>更新目录</a>
    );
};
export default RefreshDir;
