1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 08:53:14 +00:00

Add the ability to create files and selected states

This commit is contained in:
zxj96
2019-04-19 17:36:37 +08:00
parent 270b0dff8a
commit ca7857e654
5 changed files with 160 additions and 20 deletions

View File

@@ -28,6 +28,8 @@ const propTypes = {
updateDirent: PropTypes.func.isRequired,
showShareBtn: PropTypes.bool.isRequired,
showDirentDetail: PropTypes.func.isRequired,
onAddFolder: PropTypes.func.isRequired,
onDirentClick: PropTypes.func.isRequired,
};
class DirGridView extends React.Component {
@@ -74,6 +76,8 @@ class DirGridView extends React.Component {
onGridItemClick={this.props.onGridItemClick}
isDirentDetailShow={this.props.isDirentDetailShow}
onItemRename={this.props.onItemRename}
onAddFolder={this.props.onAddFolder}
onDirentClick={this.props.onDirentClick}
/>
</Fragment>
);