diff --git a/src/components/ArrowToggle/__stories__/ArrowToggle.stories.tsx b/src/components/ArrowToggle/__stories__/ArrowToggle.stories.tsx index 1a37548845..41e2976ccc 100644 --- a/src/components/ArrowToggle/__stories__/ArrowToggle.stories.tsx +++ b/src/components/ArrowToggle/__stories__/ArrowToggle.stories.tsx @@ -47,9 +47,15 @@ export const Interactive: StoryFn = (args) => { const direction = directions[directionIndex % directions.length]; return ( - // eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions - setDirectionIndex(directionIndex + 1)} style={{cursor: 'pointer'}}> -

{direction}

-
+
+ +

{direction}

+
); };