Skip to content

Commit

Permalink
docs: fix typo on carousel documentation for CarouselAPI import (#1163)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel-DaSilva authored Jun 26, 2024
1 parent bc9fa00 commit 2f4821f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/www/src/content/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Use reactive state and the `bind:api` directive to get an instance of the carous

```svelte showLineNumbers {2,5,18}
<script lang="ts">
import { type CarouselApi } from "$lib/components/ui/carousel/context.js";
import { type CarouselAPI } from "$lib/components/ui/carousel/context.js";
import * as Carousel from "$lib/components/ui/carousel/index.js";
let api: CarouselAPI;
Expand Down Expand Up @@ -202,7 +202,7 @@ You can listen to events using the api instance from `bind:api`.

```svelte showLineNumbers {2,5,7-11,14}
<script lang="ts">
import { type CarouselApi } from "$lib/components/ui/carousel/context.js";
import { type CarouselAPI } from "$lib/components/ui/carousel/context.js";
import * as Carousel from "$lib/components/ui/carousel/index.js";
let api: CarouselAPI;
Expand Down

0 comments on commit 2f4821f

Please sign in to comment.