From 0bdf080e6685043a2550138440f42c78c3e721e3 Mon Sep 17 00:00:00 2001 From: Matthew Toledo Date: Tue, 23 Dec 2025 19:37:32 -0500 Subject: [PATCH] trying to fix component types --- typings/carouselElements.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/typings/carouselElements.d.ts b/typings/carouselElements.d.ts index eeb1ec7..65a8b89 100644 --- a/typings/carouselElements.d.ts +++ b/typings/carouselElements.d.ts @@ -22,7 +22,7 @@ type SliderInterface = React.ComponentType; */ declare const Slider: SliderInterface; -type SlideProps = +type SlideProps = React.HTMLAttributes & { readonly className?: string; readonly classNameHidden?: string; @@ -47,8 +47,8 @@ type SlideInterface = React.ComponentType; */ declare const Slide: SlideInterface; -type ImageWithZoomProps = - React.HTMLAttributes & { +type ImageWithZoomProps = + React.ComponentPropsWithoutRef & { readonly alt?: string; readonly bgImageProps?: object; readonly bgImageTag?: string; @@ -65,8 +65,8 @@ type ImageWithZoomProps = type ImageWithZoomInterface = React.ComponentType; declare const ImageWithZoom: ImageWithZoomInterface; -type ImageProps = - React.HTMLAttributes & { +type ImageProps = + React.ComponentPropsWithoutRef & { readonly alt?: string; readonly children?: React.ReactNode; readonly className?: string;