Declare types on settings
This commit is contained in:
parent
be900aa25c
commit
ee078c677b
5 changed files with 36 additions and 0 deletions
|
@ -2,6 +2,7 @@ import './BlacklistForm.scss';
|
|||
import AddButton from '../ui/AddButton';
|
||||
import DeleteButton from '../ui/DeleteButton';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
class BlacklistForm extends React.Component {
|
||||
|
||||
|
@ -49,4 +50,9 @@ class BlacklistForm extends React.Component {
|
|||
}
|
||||
}
|
||||
|
||||
BlacklistForm.propTypes = {
|
||||
value: PropTypes.arrayOf(PropTypes.string),
|
||||
onChange: PropTypes.func,
|
||||
};
|
||||
|
||||
export default BlacklistForm;
|
||||
|
|
Reference in a new issue