What's Included
- TypeScript source (SplitToEdit.tsx)
- Animated control button (EditButton.tsx)
- Pencil icon asset
- README with install + usage
- MP4 preview
About the Project
Built with react-native-reanimated v4 worklets. A single `progress` shared value drives the whole transition while separate width shared values are animated with `withSpring` to expand each field; `interpolate` maps progress onto border radius and padding for a smooth morph. The inputs are wrapped TextInputs whose `editable` and `pointerEvents` are toggled via `useAnimatedProps` so they only accept focus once the field has expanded past the halfway point — focus is fired on a short timeout to wait out the spring. The edit/confirm button cross-fades a pencil into an Octicons checkmark and animates an expo-blur intensity for the swap. Tested on Expo SDK 56 (iOS + Android), React 19 with the React Compiler enabled.