Skip to content

Commit 9a86b0e

Browse files
committed
feat: add DataBinding example with interactive controls
Port DataBinding example from old rive-react-native with modal UI for string, number, and color property controls. Adds @navigation alias for cross-platform header button support.
1 parent 6052279 commit 9a86b0e

10 files changed

Lines changed: 457 additions & 133 deletions

File tree

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"build:ios": "react-native build-ios --mode Debug"
1111
},
1212
"dependencies": {
13+
"@react-native-community/slider": "^5.1.1",
1314
"@react-native-picker/picker": "^2.11.4",
1415
"@react-navigation/native": "^7.1.9",
1516
"@react-navigation/stack": "^7.3.2",

example/src/navigation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { useNavigation } from '@react-navigation/native';

0 commit comments

Comments
 (0)