From 1773a3544d52ff7c5d6078f457a844ad25bb124a Mon Sep 17 00:00:00 2001 From: Laurent Nguyen Date: Thu, 26 May 2016 12:59:15 +0200 Subject: [PATCH] Add prop to override the tabBar shadow style --- src/Scene.js | 1 + src/TabBar.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Scene.js b/src/Scene.js index d9dffa451..c73a2086f 100644 --- a/src/Scene.js +++ b/src/Scene.js @@ -15,6 +15,7 @@ export default class extends React.Component { static propTypes = { tabBarStyle: View.propTypes.style, + tabBarShadowStyle: View.propTypes.style, tabSceneStyle: View.propTypes.style, tabStyle: View.propTypes.style, tabTitleStyle: Text.propTypes.style, diff --git a/src/TabBar.js b/src/TabBar.js index a9dc70c1e..3666f20c6 100644 --- a/src/TabBar.js +++ b/src/TabBar.js @@ -12,6 +12,7 @@ class TabBar extends Component { tabIcon: PropTypes.any, onNavigate: PropTypes.func, tabBarStyle: View.propTypes.style, + tabBarShadowStyle: View.propTypes.style, tabSceneStyle: View.propTypes.style, }; @@ -42,6 +43,7 @@ class TabBar extends Component { > {state.children.map(el => {