Add useReactImageTurntable hook to expose internal functions to the parent component. This will allow the parent component to hook into the internal logic of the component, simplifying state management.
Props should be passed to the hook instead of directly to the component.
Add
useReactImageTurntable
hook to expose internal functions to the parent component. This will allow the parent component to hook into the internal logic of the component, simplifying state management.Props should be passed to the hook instead of directly to the component.
Example usage