From 1a0812768fd4a821b6fe03dad9777b1ef5ded162 Mon Sep 17 00:00:00 2001 From: sarovin Date: Fri, 29 Apr 2016 09:50:49 +0200 Subject: [PATCH] FIX ESLint react/prop-types --- src/NavBar.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NavBar.js b/src/NavBar.js index 623188deb..d8d72eb43 100644 --- a/src/NavBar.js +++ b/src/NavBar.js @@ -114,14 +114,14 @@ const contextTypes = { const propTypes = { navigationState: PropTypes.object, - backButtonImage: PropTypes.object, + backButtonImage: PropTypes.number, backButtonTextStyle: PropTypes.string, leftButtonStyle: PropTypes.string, leftButtonIconStyle: PropTypes.string, getTitle: PropTypes.func, - titleStyle: PropTypes.string, - position: PropTypes.number, - navigationBarStyle: PropTypes.string, + titleStyle: PropTypes.object, + position: PropTypes.object, + navigationBarStyle: PropTypes.object, }; const defaultProps = {