diff --git a/src/core/Slider.tsx b/src/core/Slider.tsx index f75c77fe..23da856d 100644 --- a/src/core/Slider.tsx +++ b/src/core/Slider.tsx @@ -76,7 +76,10 @@ const Slider = ({ children, interval = 15000 }: SliderProps) => { style={{ transform: `translateX(-${activeIndex * 100}%)` }} > {children.map((child, index) => ( -
+
{child}
))} diff --git a/src/core/Slider/Slider.stories.tsx b/src/core/Slider/Slider.stories.tsx index 7975c7bc..53a41031 100644 --- a/src/core/Slider/Slider.stories.tsx +++ b/src/core/Slider/Slider.stories.tsx @@ -4,7 +4,7 @@ import Icon from "../Icon.tsx"; const Slide = ({ name }: { name: string }) => (
-
+

“Ably seamlessly absorbs sudden bursts in load during unexpected