diff --git a/packages/docs/src/routes/docs/(qwik)/components/events/index.mdx b/packages/docs/src/routes/docs/(qwik)/components/events/index.mdx index dd9935f372e..a4921e00fbc 100644 --- a/packages/docs/src/routes/docs/(qwik)/components/events/index.mdx +++ b/packages/docs/src/routes/docs/(qwik)/components/events/index.mdx @@ -247,7 +247,7 @@ import { component$, Slot, useStore } from '@builder.io/qwik'; export default component$(() => { return ( ); }); @@ -289,7 +289,7 @@ export const Button = component$(({ onTripleClick$ }) => { ⚠️ When using type annotations, we need to wrap the event type with `PropFunction` in order to tell TypeScript that the function can't be called synchronously. ```tsx -component$(({ onShow$ } : { onShow$?: PropFunction<() => void> }) => { +component$(({ onTripleClick$ } : { onTripleClick$?: PropFunction<() => void> }) => { ... }); ```