通過ボタンのデザイン修正
This commit is contained in:
parent
6a8bdba849
commit
bc8a786db7
@ -50,27 +50,31 @@ export const ScrollStickyContent = (props) => {
|
|||||||
>
|
>
|
||||||
見込
|
見込
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<View>
|
||||||
style={{
|
<View style={{ flex: 1 }} />
|
||||||
fontSize: 15,
|
<Text
|
||||||
width: 50,
|
style={{
|
||||||
paddingBottom: 0,
|
fontSize: 12,
|
||||||
margin: 0,
|
width: 50,
|
||||||
textAlign: "center",
|
paddingBottom: 0,
|
||||||
textAlignVertical: "center",
|
margin: "auto",
|
||||||
opacity: haveThrough ? 1 : 0,
|
textAlign: "center",
|
||||||
}}
|
textAlignVertical: "center",
|
||||||
onPress={() => {
|
opacity: haveThrough ? 1 : 0,
|
||||||
if (!haveThrough) return;
|
}}
|
||||||
LayoutAnimation.configureNext({
|
onPress={() => {
|
||||||
duration: 200,
|
if (!haveThrough) return;
|
||||||
update: { type: "easeInEaseOut", springDamping: 0.6 },
|
LayoutAnimation.configureNext({
|
||||||
});
|
duration: 200,
|
||||||
setShowThrew(!showThrew);
|
update: { type: "easeInEaseOut", springDamping: 0.6 },
|
||||||
}}
|
});
|
||||||
>
|
setShowThrew(!showThrew);
|
||||||
(通過{showThrew ? "▼" : "▶"})
|
}}
|
||||||
</Text>
|
>
|
||||||
|
(通過{showThrew ? "▼" : "▶"})
|
||||||
|
</Text>
|
||||||
|
<View style={{ flex: 1 }} />
|
||||||
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
Loading…
Reference in New Issue
Block a user