import React, { Fragment } from 'react'; import PropTypes from 'prop-types'; import DirPath from './dir-path'; import DirTool from './dir-tool'; const propTypes = { repoID: PropTypes.string.isRequired, repoName: PropTypes.string.isRequired, permission: PropTypes.bool.isRequired, currentPath: PropTypes.string.isRequired, onPathClick: PropTypes.func.isRequired, onTabNavClick: PropTypes.func, pathPrefix: PropTypes.array, isViewFile: PropTypes.bool, updateUsedRepoTags: PropTypes.func.isRequired, fileTags: PropTypes.array.isRequired, onDeleteRepoTag: PropTypes.func.isRequired, }; class CurDirPath extends React.Component { render() { return ( ); } } CurDirPath.propTypes = propTypes; export default CurDirPath;