-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSecondView.js
More file actions
21 lines (20 loc) · 798 Bytes
/
SecondView.js
File metadata and controls
21 lines (20 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
'use sttrict'
import React from 'react';
import {
View,
Text
} from 'react-native';
var ScrollableTabView = require('react-native-scrollable-tab-view');
export default class SecondView extends React.Component {
render() {
return (
<ScrollableTabView initialPage={0} tabBarUnderlineStyle={{backgroundColor: '#11cab0'}}
tabBarActiveTextColor="#991cbf" tabBarInactiveTextColor="#11cfa5">
<Text tabLabel="React" style={{fontSize: 30}}>1111</Text>
<Text tabLabel="Flow" style={{fontSize: 40}}>222222</Text>
<Text tabLabel="Jest" style={{fontSize: 50}}>333333</Text>
<Text tabLabel="haha" style={{fontSize: 50}}>444444</Text>
</ScrollableTabView>
)
}
}