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