inertia
inertia copied to clipboard
Explicitly add children to InertiaHeadProps type definition
The current type definition for the Head component relies on React.FC, which as of React version 18 does not implicitly include the children prop. This results in typescript errors when using the Head component with children as in the example on the Inertia docs site.