From b02d63eeba5469d74d01fa061f47dcaf410a6b9c Mon Sep 17 00:00:00 2001 From: nehal Date: Mon, 1 Apr 2024 17:41:07 +0530 Subject: [PATCH] Added selectedImageStyle in SelectCountryComponent --- src/components/SelectCountry/index.tsx | 3 ++- src/components/SelectCountry/model.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/SelectCountry/index.tsx b/src/components/SelectCountry/index.tsx index fc7c335..83ea522 100644 --- a/src/components/SelectCountry/index.tsx +++ b/src/components/SelectCountry/index.tsx @@ -22,6 +22,7 @@ const SelectCountryComponent: ( imageField, selectedTextStyle, imageStyle, + selectedImageStyle, } = props; const ref: any = useRef(null); @@ -63,7 +64,7 @@ const SelectCountryComponent: ( return ( ); } else { diff --git a/src/components/SelectCountry/model.ts b/src/components/SelectCountry/model.ts index a48fd2e..93c8e32 100644 --- a/src/components/SelectCountry/model.ts +++ b/src/components/SelectCountry/model.ts @@ -4,4 +4,5 @@ import type { DropdownProps } from '../Dropdown/model'; export interface SelectCountryProps extends DropdownProps { imageField: string; imageStyle?: ImageStyle; + selectedImageStyle?: ImageStyle }