Skip to content

Commit 253249a

Browse files
committed
fix: typecheck
1 parent f823eb2 commit 253249a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

example/src/pages/OutOfBandAssets.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ export default function StateMachine() {
6161
<SafeAreaView style={styles.safeAreaViewContainer}>
6262
<RiveView
6363
file={riveFile}
64-
autoplay={true}
6564
fit={Fit.Contain}
6665
style={styles.animation}
6766
stateMachineName="State Machine 1"
@@ -80,12 +79,13 @@ export default function StateMachine() {
8079
// Using just the asset name allows you to avoid knowing the unique identifier and gives you more control over naming.
8180

8281
artboardName="Artboard"
83-
resourceName={'out_of_band'}
82+
/>
83+
{/*
8484
onError={(riveError: RNRiveError) => {
8585
console.log(riveError);
8686
}}
87-
/>
88-
{/* <Text>
87+
*/
88+
/* <Text>
8989
Load in an external asset from a URL, or bundled asset on the native
9090
platform, or as a source loaded directly from JavaScript.
9191
</Text> */}

0 commit comments

Comments
 (0)