Skip to content

Commit

Permalink
Excluding ratios
Browse files Browse the repository at this point in the history
  • Loading branch information
dlnr committed Nov 5, 2024
1 parent 14da553 commit 6248363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/ImageSlider/ImageSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<ImageProps, 'aspectRatio'> & {
/** Specify the aspect ratio to use for the images. */
aspectRatio: Ratio
aspectRatio: Exclude<Ratio, 'tall' | 'x-tall' | '2x-wide'>
}

export type ImageSliderProps = {
Expand Down

0 comments on commit 6248363

Please sign in to comment.