-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hook to control all state from parent #24
Labels
enhancement
New feature or request
Comments
This was referenced Nov 26, 2023
nerdyman
added a commit
that referenced
this issue
Nov 26, 2023
…loses #24 BREAKING CHANGE: The library now requires the `useReactImageTurntable` hook to be called and its props passed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: