1
0
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:
shanshuirenjia
2018-12-17 10:23:05 +08:00
parent 3ee2de6773
commit cea43ba325

View File

@@ -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,
};