Skip to content

Commit

Permalink
Fix typo in nav example code (#1088)
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot authored Jan 7, 2025
2 parents b37416e + 29317fe commit ba22085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/navigation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can also control whether the carousel should wrap around when the first or l

| Prop Name | Type | Default Value |
| :----------------- | :------- | :------------ |
| `showArrows` | boolean \| "always" \| "hover" | `false` |
| `showArrows` | boolean \| `always` \| `hover` | `false` |
| `showDots` | boolean | `false` |
| `wrapMode` | `nowrap` \| `wrap` | `nowrap` |

Expand Down Expand Up @@ -46,7 +46,7 @@ When set to `true` or `always`, the arrows will always be visible. When set to `
#### Code

```tsx
<Carousel showArrows>
<Carousel showArrows="hover">
<img src="pexels-01.jpg" />
<img src="pexels-02.jpg" />
<img src="pexels-03.jpg" />
Expand Down

0 comments on commit ba22085

Please sign in to comment.