From fd763aa85acf958a9ae76e699d791398eda016bf Mon Sep 17 00:00:00 2001 From: aizad-deriv Date: Fri, 2 Feb 2024 11:25:45 +0800 Subject: [PATCH] fix: added style type back inside of input component --- lib/components/Input/index.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/components/Input/index.tsx b/lib/components/Input/index.tsx index 8bd188fd..6fafdff4 100644 --- a/lib/components/Input/index.tsx +++ b/lib/components/Input/index.tsx @@ -9,8 +9,7 @@ export type InputVariants = | "error" | "warning" | "disabled"; -interface InputProps - extends Omit, "style" | "placeholder"> { +interface InputProps extends Omit, "placeholder"> { label?: string; leftPlaceholder?: ReactNode; rightPlaceholder?: ReactNode;