feat: add support for React Native Reanimated animated props#138
feat: add support for React Native Reanimated animated props#138patrickkabwe wants to merge 5 commits intomainfrom
Conversation
Add support for animating NitroText props using React Native Reanimated. This allows text properties (text, fontSize, fontColor, letterSpacing) to be animated directly on the UI thread for smooth, performant animations.
There was a problem hiding this comment.
💡 Codex Review
react-native-nitro-text/src/nitro-text.tsx
Lines 147 to 148 in b3d32c1
With renderer and string children, this branch now returns NitroTextView without fragments or text. Because textProps no longer includes parsedFragments, the parsed HTML/plaintext output is dropped, so renderer="html" (or plaintext) will render nothing/empty. This is a regression for any usage that relies on the JS-side renderStringChildren parser; you likely need to pass fragments={parsedFragments} (or fragments) in this branch.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Add support for animating NitroText props using React Native Reanimated. This allows text properties (text, fontSize, fontColor, letterSpacing) to be animated directly on the UI thread for smooth, performant animations.