レイアウトの調整

This commit is contained in:
harukin-expo-dev-env 2024-03-27 15:02:11 +00:00
parent c7d0f3e23c
commit 639c2e126d

View File

@ -125,19 +125,14 @@ const SimpleSwitch = ({ bool, setBool, str }) => (
checked={bool == "true" ? true : false}
checkedColor="red"
onPress={() => setBool(bool == "true" ? "false" : "true")}
/>
<Text
style={{
fontSize: 22,
alignItems: "center",
containerStyle={{
width: "100%",
backgroundColor: "white",
borderColor: "white",
alignContent: "center",
textAlign: "center",
textAlignVertical: "center",
padding: 0,
margin: 0,
}}
>
{str}
</Text>
textStyle={{ fontSize: 20 }}
title={str}
/>
</View>
);