From 4fd125ef199942f849740a3c13c407852b9ceec5 Mon Sep 17 00:00:00 2001 From: Ray Gill Date: Thu, 31 May 2018 17:45:23 -0400 Subject: [PATCH] Correct: Warning: Failed prop type: Invalid prop of type --- checkbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checkbox.js b/checkbox.js index 4f9ffe6..f78ba92 100644 --- a/checkbox.js +++ b/checkbox.js @@ -145,8 +145,8 @@ CheckBox.propTypes = { checkboxStyle: PropTypes.oneOfType([PropTypes.array,PropTypes.object,PropTypes.number]), containerStyle: PropTypes.oneOfType([PropTypes.array,PropTypes.object,PropTypes.number]), checked: PropTypes.bool, - checkedImage: PropTypes.number, - uncheckedImage: PropTypes.number, + checkedImage: PropTypes.object, + uncheckedImage: PropTypes.object, underlayColor: PropTypes.string, onChange: PropTypes.func, hitSlop: PropTypes.object