Skip to content

Commit

Permalink
fix: correct preact type
Browse files Browse the repository at this point in the history
  • Loading branch information
Xstoudi committed Dec 25, 2023
1 parent 4edc7f1 commit 3042796
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Head.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import React, { FunctionComponent, toChildArray, VNode } from 'preact'
import React, {
ComponentChildren,
FunctionComponent,
toChildArray,
} from 'preact'
import { useEffect, useMemo, useContext } from 'preact/hooks'
import HeadContext from './HeadContext'

type InertiaHeadProps = {
title?: string
children?: VNode
children?: ComponentChildren
}

type InertiaHead = FunctionComponent<InertiaHeadProps>
Expand Down

0 comments on commit 3042796

Please sign in to comment.