Skip to content

Commit

Permalink
fix(tabs): removed rest props from tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
rollymaduk committed Oct 12, 2017
1 parent ddf44cb commit 188caa6
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 36 deletions.
70 changes: 36 additions & 34 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/tabbedHeader/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { compose, withProps, withHandlers, withState, defaultProps, withContext
import { getHeaderAndScenes } from '../helpers';
/* eslint react/prop-types:0 */
const Component = ({ onIndexChange, initialLayout,
renderHeader, renderScenes, navigationState, swipeEnabled, ...rest
renderHeader, renderScenes, navigationState, swipeEnabled
}: any) => (
<TabViewAnimated
initialLayout={initialLayout}
Expand All @@ -17,7 +17,6 @@ const Component = ({ onIndexChange, initialLayout,
renderHeader={renderHeader}
onIndexChange={onIndexChange}
swipeEnabled={swipeEnabled}
{...rest}
/>
);

Expand Down

0 comments on commit 188caa6

Please sign in to comment.