We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f20ca commit deef243Copy full SHA for deef243
examples/FacebookTabsExample/SimpleExample.js
@@ -3,11 +3,14 @@ import {
3
Text,
4
} from 'react-native';
5
6
-import ScrollableTabView from 'react-native-scrollable-tab-view';
+import ScrollableTabView, {DefaultTabBar} from 'react-native-scrollable-tab-view';
7
8
export default React.createClass({
9
render() {
10
- return <ScrollableTabView style={{marginTop: 20, }}>
+ return <ScrollableTabView
11
+ style={{marginTop: 20, }}
12
+ renderTabBar={() => <DefaultTabBar />}
13
+ >
14
<Text tabLabel='Tab #1'>My</Text>
15
<Text tabLabel='Tab #2'>favorite</Text>
16
<Text tabLabel='Tab #3'>project</Text>
0 commit comments