mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
accept bool as toolTip type
This commit is contained in:
parent
de5297bf9a
commit
425675e760
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ FormikInput.propTypes = {
|
|||
className: PropTypes.string,
|
||||
error: PropTypes.string,
|
||||
onSetRef: PropTypes.func,
|
||||
toolTip: PropTypes.string,
|
||||
// toolTip can be false, in which case we ignore it
|
||||
toolTip: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
|
||||
type: PropTypes.string,
|
||||
validationClassName: PropTypes.string,
|
||||
wrapperClassName: PropTypes.string
|
||||
|
|
Loading…
Reference in a new issue