レイアウトの調整
This commit is contained in:
parent
c7d0f3e23c
commit
639c2e126d
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user