Unverified Commit 66834d5c authored by Steven's avatar Steven Committed by GitHub

Fix `image-component` example types (#40352)

parent 2b9268a9
......@@ -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} />
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment