You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(react-native): add data binding artboards documentation (#358)
## Summary
- Add React Native code example for artboard data binding in the new
runtime
- Add React Native link to the data binding artboards demo card
Related: rive-app/rive-nitro-react-native#95
Copy file name to clipboardExpand all lines: runtimes/data-binding.mdx
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3011,7 +3011,20 @@ Artboard properties allows you to swap out entire components at runtime. This is
3011
3011
<Tabtitle="React Native">
3012
3012
<Tabs>
3013
3013
<Tabtitle="New Runtime (Recommended)">
3014
-
<Note>Coming soon</Note>
3014
+
<Info>
3015
+
See the [React Native data binding artboards example](https://github.com/rive-app/rive-nitro-react-native/blob/main/example/src/pages/DataBindingArtboardsExample.tsx).
3016
+
</Info>
3017
+
Artboard properties work with the `BindableArtboard` class. Use `getBindableArtboard` on a `RiveFile` to create a bindable reference, then set it on the artboard property.
0 commit comments