doc(ParallaxImage): Update Hooks example to a more standalone self-sustainable component
doc(ParallaxImage): Update Hooks example to a more standalone self-sustainable component

Just updating the hooks example so that it can be copied & pasted into a component that will run without errors.
- added useEffect and useState hooks
- added json entries so the component can run independently
- added any necessary imports
archriss/react-native-snap-carousel,archriss/react-native-snap-carousel,archriss/react-native-snap-carousel,archriss/react-native-snap-carousel