File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
demo-react/src/components Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 1
1
import * as React from 'react' ;
2
2
import { StyleSheet } from 'react-nativescript' ;
3
3
4
- export function ExampleTabs ( ) {
4
+ export function ExampleTabs ( ) {
5
5
return (
6
6
< tabs selectedIndex = { 1 } >
7
7
{ /* The bottomTab UI is created via tabStrip (the container) and tabStripItem (for each tab) */ }
8
8
< tabStrip >
9
9
< tabStripItem >
10
10
< label > Home</ label >
11
- < image src = "font://" className = "fas" />
11
+ < image src = "font://" className = "fas" />
12
12
</ tabStripItem >
13
13
< tabStripItem className = "special" >
14
14
< label > Account</ label >
15
- < image src = "font://" className = "fas" />
15
+ < image src = "font://" className = "fas" />
16
16
</ tabStripItem >
17
17
< tabStripItem className = "special" >
18
18
< label > Search</ label >
19
- < image src = "font://" className = "fas" />
19
+ < image src = "font://" className = "fas" />
20
20
</ tabStripItem >
21
21
</ tabStrip >
22
22
@@ -42,17 +42,17 @@ export function ExampleTabs(){
42
42
43
43
const styles = StyleSheet . create ( {
44
44
container : {
45
- height : " 100%" ,
46
- flexDirection : " column" ,
47
- justifyContent : " center" ,
45
+ height : ' 100%' ,
46
+ flexDirection : ' column' ,
47
+ justifyContent : ' center'
48
48
} ,
49
49
text : {
50
- textAlignment : " center" ,
50
+ textAlignment : ' center' ,
51
51
fontSize : 24 ,
52
- color : " black" ,
52
+ color : ' black'
53
53
} ,
54
54
button : {
55
55
fontSize : 24 ,
56
- color : " #2e6ddf" ,
57
- } ,
58
- } ) ;
56
+ color : ' #2e6ddf'
57
+ }
58
+ } ) ;
You can’t perform that action at this time.
0 commit comments