Skip to content

Commit

Permalink
Fix image-component example types (#40352)
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle authored Sep 8, 2022
1 parent 2b9268a commit 66834d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/image-component/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ViewSource from '../components/view-source'
import vercel from '../public/vercel.png'
import type { PropsWithChildren } from 'react'

const Code = (props: PropsWithChildren) => (
const Code = (props: PropsWithChildren<{}>) => (
<code className={styles.inlineCode} {...props} />
)

Expand Down

0 comments on commit 66834d5

Please sign in to comment.