Fix image-component
example types (#40352)
This commit is contained in:
parent
2b9268a911
commit
66834d5c15
1 changed files with 1 additions and 1 deletions
|
@ -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} />
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue