Skip to content

Commit

Permalink
docs: update readme clip link
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdyman committed Sep 14, 2024
1 parent fcce10a commit be17df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const Example = () => {
| ---- | ---- | :------: | ------- | ----------- |
| [`boundsPadding`](https://react-compare-slider.vercel.app/?path=/story/demos--bounds-padding) | `number` | | `0` | Padding to limit the slideable bounds in pixels on the X-axis (landscape) or Y-axis (portrait).
| [`browsingContext`](https://react-compare-slider.vercel.app/?path=/story/demos--browsing-context) | `globalThis` | | `globalThis` | Context to bind events to (useful for iframes).
| [`clip`](https://react-compare-slider.vercel.app/?path=/story/docs/docs-clip--docs) | `` both\|itemOne\|itemTwo `` | | `5%` | Percentage or pixel amount to move when the slider handle is focused and keyboard arrow is pressed.
| [`clip`](https://react-compare-slider.vercel.app/?path=/docs/docs-clip--docs) | `` both\|itemOne\|itemTwo `` | | `5%` | Percentage or pixel amount to move when the slider handle is focused and keyboard arrow is pressed.
| [`changePositionOnHover`](https://react-compare-slider.vercel.app/?path=/story/demos--change-position-on-hover) | `boolean` | | `false` | Whether the slider should follow the pointer on hover.
| [`disabled`](https://react-compare-slider.vercel.app/?path=/story/demos--disabled) | `boolean` | | `false` | Whether to disable slider movement (items are still interactable).
| [`handle`](https://react-compare-slider.vercel.app/?path=/story/demos--handle) | `ReactNode` | | `undefined` | Custom handle component.
Expand All @@ -93,4 +93,4 @@ Checkout out the [Real World Examples page](https://react-compare-slider.vercel.
## Requirements

- React 16.8+
- The latest two versions of each major browser are officially supported
- The latest two versions of each major browser are officially supported (at time of publishing)

0 comments on commit be17df2

Please sign in to comment.