mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 02:10:24 +00:00
add props type check
This commit is contained in:
@@ -4,6 +4,7 @@ import { Button, Modal, ModalHeader, Input, ModalBody, ModalFooter, Form, FormGr
|
|||||||
import { gettext } from '../../utils/constants';
|
import { gettext } from '../../utils/constants';
|
||||||
|
|
||||||
const propTypes = {
|
const propTypes = {
|
||||||
|
libraryType: PropTypes.string.isRequired,
|
||||||
onCreateRepo: PropTypes.func.isRequired,
|
onCreateRepo: PropTypes.func.isRequired,
|
||||||
onCreateToggle: PropTypes.func.isRequired,
|
onCreateToggle: PropTypes.func.isRequired,
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user