LottieAnimationを静的配置

This commit is contained in:
harukin-expo-dev-env 2024-08-31 09:29:47 +00:00
parent ab8de7a8c0
commit 626c715510
2 changed files with 3 additions and 4 deletions

1
assets/StationSign.json Normal file

File diff suppressed because one or more lines are too long

View File

@ -131,9 +131,7 @@ export default function Sign(props) {
height: (wp("80%") / 20) * 9,
backgroundColor: "#fff",
}}
source={{
uri: "https://cdn.lottielab.com/l/D4m3dmEqsjVN77.json",
}}
source={require("../../assets/StationSign.json")}
/>
)}
<StationNumberMaker {...{ currentStation, isMatsuyama }} />
@ -194,7 +192,7 @@ const styleSheet = {
top: "2%",
left: "2%",
fontWeight: "bold",
fontSize: parseInt("30%"),
fontSize: parseInt("25%"),
color: "#2E94BB",
},
下帯内容: {