Skip to content

Commit

Permalink
fix: text run name in example
Browse files Browse the repository at this point in the history
  • Loading branch information
HayesGordon committed Aug 2, 2023
1 parent 43c4191 commit 0f3be9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/DynamicText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function DynamicText() {
// Set the TextRun value of the 'name' TextRun
// The name must exist else an error will be thrown
// See: https://help.rive.app/runtimes/text
riveRef.current?.setTextRunValue('names', e);
riveRef.current?.setTextRunValue('name', e);
};

return (
Expand Down

0 comments on commit 0f3be9a

Please sign in to comment.