Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 331a4ae

Browse files
authoredApr 8, 2025··
Create MyApp1
1 parent 6254386 commit 331a4ae

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
 

‎MyApp1

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import React from 'react';
2+
import { StyleSheet, Text, View, Image, TextInput, Button } from 'react-native';
3+
4+
export default function App() {
5+
return (
6+
<View style={styles.container}>
7+
<Image source={require('./assets/logo.png')} style={styles.logo} />
8+
<Text style={styles.title}>Bootstrap IT Solutions</Text>
9+
<TextInput style={styles.input} placeholder="Name" />
10+
<TextInput style={styles.input} placeholder="Email" keyboardType="email-address" />
11+
<TextInput style={styles.input} placeholder="Phone Number" keyboardType="phone-pad" />
12+
<TextInput style={styles.input} placeholder="Issue Description" multiline />
13+
<Button title="Submit" onPress={() => console.log('Form Submitted')} />
14+
</View>
15+
);
16+
}
17+
18+
const styles = StyleSheet.create({
19+
container: {
20+
flex: 1,
21+
justifyContent: 'center',
22+
alignItems: 'center',
23+
backgroundColor: '#f0f0f0',
24+
},
25+
logo: {
26+
width: 100,
27+
height: 100,
28+
marginBottom: 20,
29+
},
30+
title: {
31+
fontSize: 24,
32+
marginBottom: 20,
33+
},
34+
input: {
35+
width: '80%',
36+
padding: 10,
37+
marginVertical: 5,
38+
borderWidth: 1,
39+
borderColor: '#ccc',
40+
borderRadius: 5,
41+
},
42+
});

0 commit comments

Comments
 (0)
Please sign in to comment.