diff --git a/packages/docs/src/components/code-sandbox/index.tsx b/packages/docs/src/components/code-sandbox/index.tsx index 0141e91a3ba..a19ad1c1b78 100644 --- a/packages/docs/src/components/code-sandbox/index.tsx +++ b/packages/docs/src/components/code-sandbox/index.tsx @@ -21,6 +21,7 @@ export default component$<{
{tabs.map((tab, idx) => ( (activeTab.value = idx)} class={{ tab: true, active: idx == activeTab.value }} > diff --git a/packages/docs/src/components/docsearch/doc-search.tsx b/packages/docs/src/components/docsearch/doc-search.tsx index 8a6db5658d6..5d26fbff194 100644 --- a/packages/docs/src/components/docsearch/doc-search.tsx +++ b/packages/docs/src/components/docsearch/doc-search.tsx @@ -71,7 +71,7 @@ export const DocSearch = component$((props: DocSearchProps) => { snippetLength: 10, }); - const searchButtonRef = useSignal(); + const searchButtonRef = useSignal(); return (
; - onClose$: () => void; + onClose$: PropFunction<() => void>; } export const SearchBox = component$((props: SearchBoxProps) => { diff --git a/packages/docs/src/components/router-head/router-head.tsx b/packages/docs/src/components/router-head/router-head.tsx index 75da68471ff..91c2a3347b4 100644 --- a/packages/docs/src/components/router-head/router-head.tsx +++ b/packages/docs/src/components/router-head/router-head.tsx @@ -82,16 +82,16 @@ export const RouterHead = component$(() => { )} - {head.meta.map((m) => ( - + {head.meta.map((m, key) => ( + ))} - {head.links.map((l) => ( - + {head.links.map((l, key) => ( + ))} - {head.styles.map((s) => ( -