-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
39 lines (38 loc) · 1.12 KB
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import {
View,
Keyboard,
SafeAreaView,
TouchableWithoutFeedback,
} from 'react-native';
import React from 'react';
import CommonExample from './examples/common/common';
import ColoredExample from './examples/colored';
import BorderBottomOnly from './examples/bottomBorderOnly';
import LoweFloatUpRange from './examples/LowerFloatUpRange';
import WithIcon from './examples/WithIcon';
import BorderBottomWithIcon from './examples/borderBottomWithIcon';
import TextAreaExample from './examples/textArea';
export default function App() {
return (
<SafeAreaView style={{flex: 1}}>
<TouchableWithoutFeedback onPress={() => Keyboard.dismiss()}>
<View
style={{
flex: 1,
width: '100%',
alignItems: 'center',
justifyContent: 'center',
backgroundColor: '#f5f0e1',
}}>
<CommonExample />
<ColoredExample />
<BorderBottomOnly />
<LoweFloatUpRange />
<WithIcon />
<BorderBottomWithIcon />
<TextAreaExample />
</View>
</TouchableWithoutFeedback>
</SafeAreaView>
);
}