Skip to content

Commit 780f2c9

Browse files
Make special inputs
1 parent 735bc9b commit 780f2c9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

example/src/App.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function App({
6161
<View style={[styles.content, { backgroundColor: theme.colors.surface }]}>
6262
<Title>Examples</Title>
6363
<View style={styles.switchContainer}>
64-
<Text>Dark mode</Text>
64+
<Text style={styles.switchLabel}>Dark mode</Text>
6565
<View style={styles.switchSpace} />
6666
<Switch value={dark} onValueChange={onToggleDarkMode} />
6767
</View>
@@ -165,8 +165,13 @@ const styles = StyleSheet.create({
165165
alignSelf: 'center',
166166
flex: 1,
167167
},
168-
switchContainer: { flexDirection: 'row', marginTop: 24 },
168+
switchContainer: {
169+
flexDirection: 'row',
170+
marginTop: 24,
171+
alignItems: 'center',
172+
},
169173
switchSpace: { flex: 1 },
174+
switchLabel: { fontSize: 16 },
170175
buttons: { flexDirection: 'row', marginTop: 24 },
171176
buttonSeparator: { width: 6 },
172177
});

0 commit comments

Comments
 (0)