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