レイアウトの調整

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} checked={bool == "true" ? true : false}
checkedColor="red" checkedColor="red"
onPress={() => setBool(bool == "true" ? "false" : "true")} onPress={() => setBool(bool == "true" ? "false" : "true")}
/> containerStyle={{
<Text width: "100%",
style={{ backgroundColor: "white",
fontSize: 22, borderColor: "white",
alignItems: "center",
alignContent: "center", alignContent: "center",
textAlign: "center",
textAlignVertical: "center",
padding: 0,
margin: 0,
}} }}
> textStyle={{ fontSize: 20 }}
{str} title={str}
</Text> />
</View> </View>
); );