mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-11 11:51:27 +00:00
adjust my library style in mobile
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import cookie from 'react-cookies';
|
||||
import { seafileAPI } from '../../utils/seafile-api';
|
||||
import { gettext, loginUrl} from '../../utils/constants';
|
||||
@@ -10,6 +11,11 @@ import RepoViewToolbar from '../../components/toolbar/repo-view-toobar';
|
||||
import LibDetail from '../../components/dirent-detail/lib-details';
|
||||
import MylibRepoListView from './mylib-repo-list-view';
|
||||
|
||||
const propTypes = {
|
||||
onShowSidePanel: PropTypes.func.isRequired,
|
||||
onSearchedClick: PropTypes.func.isRequired,
|
||||
};
|
||||
|
||||
class MyLibraries extends Component {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
@@ -175,4 +181,6 @@ class MyLibraries extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
MyLibraries.propTypes = propTypes;
|
||||
|
||||
export default MyLibraries;
|
||||
|
Reference in New Issue
Block a user