通過ボタンのデザイン修正

This commit is contained in:
harukin-expo-dev-env 2024-10-19 13:27:49 +00:00
parent 6a8bdba849
commit bc8a786db7

View File

@ -50,27 +50,31 @@ export const ScrollStickyContent = (props) => {
>
見込
</Text>
<Text
style={{
fontSize: 15,
width: 50,
paddingBottom: 0,
margin: 0,
textAlign: "center",
textAlignVertical: "center",
opacity: haveThrough ? 1 : 0,
}}
onPress={() => {
if (!haveThrough) return;
LayoutAnimation.configureNext({
duration: 200,
update: { type: "easeInEaseOut", springDamping: 0.6 },
});
setShowThrew(!showThrew);
}}
>
(通過{showThrew ? "▼" : "▶"})
</Text>
<View>
<View style={{ flex: 1 }} />
<Text
style={{
fontSize: 12,
width: 50,
paddingBottom: 0,
margin: "auto",
textAlign: "center",
textAlignVertical: "center",
opacity: haveThrough ? 1 : 0,
}}
onPress={() => {
if (!haveThrough) return;
LayoutAnimation.configureNext({
duration: 200,
update: { type: "easeInEaseOut", springDamping: 0.6 },
});
setShowThrew(!showThrew);
}}
>
(通過{showThrew ? "▼" : "▶"})
</Text>
<View style={{ flex: 1 }} />
</View>
</View>
</View>
</View>