diff --git a/apps/docs/src/routes/docs/components/carousel.mdx b/apps/docs/src/routes/docs/components/carousel.mdx index fdec73a1..b849da32 100644 --- a/apps/docs/src/routes/docs/components/carousel.mdx +++ b/apps/docs/src/routes/docs/components/carousel.mdx @@ -186,7 +186,7 @@ Use a state and the `setApi` props to get an instance of the carousel API. import type { CarouselApi } from "~/components/ui/carousel" export function Example() { - const [api, setApi] = createSignal() + const [api, setApi] = createSignal>() const [current, setCurrent] = createSignal(0) const [count, setCount] = createSignal(0)