Skip to content
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

Export InertiaFormProps for React #2166

Closed
wants to merge 1 commit into from

Conversation

joelstein
Copy link

This is a simple tweak to export the InertiaFormProps type for React.

Nothing earth-shattering here; just doing the same thing as the Vue integration.

https://github.com/inertiajs/inertia/blob/master/packages/vue3/src/index.ts

This will also help Laravel Precognition with it's useForm() typing.

laravel/precognition#110

@joetannenbaum
Copy link
Contributor

Thanks for this! Closing in favor of the merged #2161

@joelstein
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants