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