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 authored and zplata committed Aug 2, 2023
1 parent dc40691 commit fc7bd2d
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 fc7bd2d

Please sign in to comment.