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

Modify some naming conventions

This commit is contained in:
zxj96
2019-04-23 16:50:17 +08:00
parent 791713a746
commit 978288eb39
7 changed files with 37 additions and 37 deletions

View File

@@ -67,8 +67,8 @@ const propTypes = {
onItemsCopy: PropTypes.func.isRequired,
onItemsDelete: PropTypes.func.isRequired,
onFileTagChanged: PropTypes.func,
scrollPage: PropTypes.func.isRequired,
isCurrentPage: PropTypes.bool.isRequired,
onPageScroll: PropTypes.func.isRequired,
itemShownLimit: PropTypes.bool.isRequired,
};
class DirColumnView extends React.Component {
@@ -226,8 +226,8 @@ class DirColumnView extends React.Component {
onItemsCopy={this.props.onItemsCopy}
onItemsDelete={this.props.onItemsDelete}
onFileTagChanged={this.props.onFileTagChanged}
isCurrentPage={this.props.isCurrentPage}
scrollPage={this.props.scrollPage}
itemShownLimit={this.props.itemShownLimit}
onPageScroll={this.props.onPageScroll}
/>
)}
</div>

View File

@@ -30,8 +30,8 @@ const propTypes = {
showDirentDetail: PropTypes.func.isRequired,
onAddFolder: PropTypes.func.isRequired,
onFileTagChanged: PropTypes.func,
scrollPage: PropTypes.func.isRequired,
isCurrentPage: PropTypes.bool.isRequired
onPageScroll: PropTypes.func.isRequired,
itemShownLimit: PropTypes.bool.isRequired
};
class DirGridView extends React.Component {
@@ -80,8 +80,8 @@ class DirGridView extends React.Component {
isDirentDetailShow={this.props.isDirentDetailShow}
onItemRename={this.props.onItemRename}
onAddFolder={this.props.onAddFolder}
isCurrentPage={this.props.isCurrentPage}
scrollPage={this.props.scrollPage}
itemShownLimit={this.props.itemShownLimit}
onPageScroll={this.props.onPageScroll}
/>
</Fragment>
);

View File

@@ -38,8 +38,8 @@ const propTypes = {
onItemsCopy: PropTypes.func.isRequired,
onItemsDelete: PropTypes.func.isRequired,
onFileTagChanged: PropTypes.func,
scrollPage: PropTypes.func.isRequired,
isCurrentPage: PropTypes.bool.isRequired
onPageScroll: PropTypes.func.isRequired,
itemShownLimit: PropTypes.bool.isRequired
};
class DirListView extends React.Component {
@@ -99,8 +99,8 @@ class DirListView extends React.Component {
onAddFile={this.props.onAddFile}
onAddFolder={this.props.onAddFolder}
onFileTagChanged={this.props.onFileTagChanged}
isCurrentPage={this.props.isCurrentPage}
scrollPage={this.props.scrollPage}
itemShownLimit={this.props.itemShownLimit}
onPageScroll={this.props.onPageScroll}
/>
</Fragment>
);