inertia icon indicating copy to clipboard operation
inertia copied to clipboard

Issue #1325: Fix error missing children props in InertiaHeadProps type for Head component

Open duongductrong opened this issue 3 years ago • 0 comments

For this issue the problem I raised here #1325,

I patch it by adding ReactNode and ReactNode[] types to the InertiaHeadProps type of the source code at the index.d.ts file.

Note: I was see the PR https://github.com/inertiajs/inertia/pull/1315 of another contributor but it's missing ReactNode[] types for passing array elements to children. In many cases, we need to passing one or many element to children props.

duongductrong avatar Oct 23 '22 15:10 duongductrong