= (props) => {
return (
diff --git a/docs/storybook/content/stories/99-tests/react-compare-slider-handle.test.stories.tsx b/docs/storybook/content/stories/99-tests/react-compare-slider-handle.test.stories.tsx
index 1ea1800..355781d 100644
--- a/docs/storybook/content/stories/99-tests/react-compare-slider-handle.test.stories.tsx
+++ b/docs/storybook/content/stories/99-tests/react-compare-slider-handle.test.stories.tsx
@@ -27,22 +27,21 @@ ReactCompareSliderHandle.play = async ({ canvasElement }) => {
// Lines should inherit color.
await waitFor(() =>
expect(
- window.getComputedStyle(handle?.querySelector('.__rcs-handle-line') as HTMLElement)
- .backgroundColor,
+ window.getComputedStyle(handle?.querySelector('.__rcs-handle-line') as HTMLElement).backgroundColor,
).toBe('rgb(255, 0, 0)'),
);
// Button should inherit color.
await waitFor(() =>
- expect(
- window.getComputedStyle(handle?.querySelector('.__rcs-handle-button') as HTMLElement).color,
- ).toBe('rgb(255, 0, 0)'),
+ expect(window.getComputedStyle(handle?.querySelector('.__rcs-handle-button') as HTMLElement).color).toBe(
+ 'rgb(255, 0, 0)',
+ ),
);
// Arrows should inherit color.
await waitFor(() =>
- expect(
- window.getComputedStyle(handle?.querySelector('.__rcs-handle-arrow') as HTMLElement).color,
- ).toBe('rgb(255, 0, 0)'),
+ expect(window.getComputedStyle(handle?.querySelector('.__rcs-handle-arrow') as HTMLElement).color).toBe(
+ 'rgb(255, 0, 0)',
+ ),
);
};
diff --git a/docs/storybook/content/stories/99-tests/react-compare-slider-image.test.stories.tsx b/docs/storybook/content/stories/99-tests/react-compare-slider-image.test.stories.tsx
index 251abfc..7167655 100644
--- a/docs/storybook/content/stories/99-tests/react-compare-slider-image.test.stories.tsx
+++ b/docs/storybook/content/stories/99-tests/react-compare-slider-image.test.stories.tsx
@@ -25,9 +25,7 @@ ReactCompareSliderImage.args = {
ReactCompareSliderImage.play = async ({ canvasElement }) => {
const canvas = within(canvasElement);
- await waitFor(() =>
- expect(canvas.getByAltText(ReactCompareSliderImage.args!.alt!)).toBeInTheDocument(),
- );
+ await waitFor(() => expect(canvas.getByAltText(ReactCompareSliderImage.args!.alt!)).toBeInTheDocument());
// Ensure default styles have been applied to `ReactCompareSliderImage`.
await waitFor(() =>
@@ -38,9 +36,7 @@ ReactCompareSliderImage.play = async ({ canvasElement }) => {
};
/** Default image. */
-export const ReactCompareSliderImageCustomStyle = (args) => (
-
-);
+export const ReactCompareSliderImageCustomStyle = (args) => ;
ReactCompareSliderImageCustomStyle.args = {
alt: 'testaroo',
@@ -51,9 +47,7 @@ ReactCompareSliderImageCustomStyle.args = {
ReactCompareSliderImageCustomStyle.play = async ({ canvasElement }) => {
const canvas = within(canvasElement);
- await waitFor(() =>
- expect(canvas.getByAltText(ReactCompareSliderImage.args!.alt!)).toBeInTheDocument(),
- );
+ await waitFor(() => expect(canvas.getByAltText(ReactCompareSliderImage.args!.alt!)).toBeInTheDocument());
// Ensure default styles have been applied to `ReactCompareSliderImage`.
await waitFor(() =>
diff --git a/docs/storybook/content/stories/99-tests/test-utils.test.tsx b/docs/storybook/content/stories/99-tests/test-utils.test.tsx
index 505345a..ff403dd 100644
--- a/docs/storybook/content/stories/99-tests/test-utils.test.tsx
+++ b/docs/storybook/content/stories/99-tests/test-utils.test.tsx
@@ -3,9 +3,7 @@ import type { StoryFn } from '@storybook/react';
import { ReactCompareSlider, ReactCompareSliderImage } from 'react-compare-slider';
import type { ReactCompareSliderDetailedProps } from 'react-compare-slider';
-export const Template: StoryFn = (args) => (
-
-);
+export const Template: StoryFn = (args) => ;
export const SLIDER_ROOT_TEST_ID = 'rcs-root';
diff --git a/docs/storybook/content/stories/99-tests/zero-bounds.test.stories.tsx b/docs/storybook/content/stories/99-tests/zero-bounds.test.stories.tsx
index 0f4c189..262e5b3 100644
--- a/docs/storybook/content/stories/99-tests/zero-bounds.test.stories.tsx
+++ b/docs/storybook/content/stories/99-tests/zero-bounds.test.stories.tsx
@@ -73,9 +73,7 @@ export const ZeroBoundsWithLazyContent = () => {
-
+