mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +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';
|
||||
|
||||
const propTypes = {
|
||||
libraryType: PropTypes.string.isRequired,
|
||||
onCreateRepo: PropTypes.func.isRequired,
|
||||
onCreateToggle: PropTypes.func.isRequired,
|
||||
};
|
||||
|
Reference in New Issue
Block a user