inertia icon indicating copy to clipboard operation
inertia copied to clipboard

Explicitly add children to InertiaHeadProps type definition

Open aviemet opened this issue 3 years ago • 0 comments

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.

aviemet avatar Oct 12 '22 22:10 aviemet