From 7d6d1f415a4de0f750156f45c1fe13002611b518 Mon Sep 17 00:00:00 2001 From: shubhadip Date: Sun, 22 Oct 2023 16:02:29 +0530 Subject: [PATCH] fix: types issues --- src/lib/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/index.d.ts b/src/lib/index.d.ts index 277eaca..f12acda 100644 --- a/src/lib/index.d.ts +++ b/src/lib/index.d.ts @@ -8,8 +8,8 @@ export as namespace ReactViteComponentLibrary; declare namespace ReactViteComponentLibrary { export const AppButton: (props: IButtonProps) => JSX.Element; export const AppTextBox: (props: ITextBoxProps) => JSX.Element; - export const Eye: ({ color?: string }) => JSX.Element; - export const TailessArrow: ({ + export const Eye: ({ color }: { color?: string }) => JSX.Element; + export const TailessArrow: ({ customClass, customStroke }: { customStroke?: string; customClass?: string; }) => JSX.Element;