diff --git a/packages/react/src/ImageSlider/ImageSlider.tsx b/packages/react/src/ImageSlider/ImageSlider.tsx index a3181dfd8a..ef44e442db 100644 --- a/packages/react/src/ImageSlider/ImageSlider.tsx +++ b/packages/react/src/ImageSlider/ImageSlider.tsx @@ -14,9 +14,9 @@ import { ImageSliderThumbnails } from './ImageSliderThumbnails' import { Ratio } from '../AspectRatio' import { Image, ImageProps } from '../Image/Image' -export type ImageSliderImageProps = ImageProps & { +export type ImageSliderImageProps = Omit & { /** Specify the aspect ratio to use for the images. */ - aspectRatio: Ratio + aspectRatio: Exclude } export type ImageSliderProps = {