From fc134ef538b9be9430c520ff1e638c35c00e2c0e Mon Sep 17 00:00:00 2001 From: Artyom Vancyan Date: Mon, 7 Oct 2024 14:11:30 +0400 Subject: [PATCH] Replace `notFoundContent` property usage --- development/src/ant-phone/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/development/src/ant-phone/index.tsx b/development/src/ant-phone/index.tsx index 062634e..1baa12c 100644 --- a/development/src/ant-phone/index.tsx +++ b/development/src/ant-phone/index.tsx @@ -219,7 +219,6 @@ const PhoneInput = forwardRef(({ }} optionLabelProp="label" dropdownStyle={{minWidth}} - notFoundContent={searchNotFound} onDropdownVisibleChange={onDropdownVisibleChange} dropdownRender={(menu) => (
@@ -231,7 +230,9 @@ const PhoneInput = forwardRef(({ onInput={({target}: any) => setQuery(target.value)} /> )} - {menu} + {countriesList.length ? menu : ( +
{searchNotFound}
+ )}
)} >