From 6184d7f8c6f1ad118f5bc916afad774d098302d1 Mon Sep 17 00:00:00 2001 From: d0422 Date: Mon, 15 Apr 2024 00:27:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Carousel=20Wrapper=20style=EA=B0=9D?= =?UTF-8?q?=EC=B2=B4=20optional=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/useCarousel/useCarousel.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bb18cb8..96ce4d5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rapiders/react-hooks", - "version": "0.0.12", + "version": "0.0.13", "description": "react hooks for fast development", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/useCarousel/useCarousel.tsx b/src/useCarousel/useCarousel.tsx index aa03f95..793db9c 100644 --- a/src/useCarousel/useCarousel.tsx +++ b/src/useCarousel/useCarousel.tsx @@ -12,7 +12,7 @@ import React, { const CarouselWrapper = forwardRef( ( - { children, style }: { children: ReactNode; style: React.CSSProperties }, + { children, style }: { children: ReactNode; style?: React.CSSProperties }, ref: ForwardedRef ) => (