chore(deps): upgrade antd to v6
This commit is contained in:
@@ -32,6 +32,7 @@ const SealAutoComplete: React.FC<
|
||||
loading,
|
||||
allowClear,
|
||||
clearSpaceOnBlur,
|
||||
showSearch,
|
||||
...rest
|
||||
} = props;
|
||||
const [isFocus, setIsFocus] = useState(false);
|
||||
@@ -83,10 +84,6 @@ const SealAutoComplete: React.FC<
|
||||
props.onBlur?.(e);
|
||||
};
|
||||
|
||||
const handleSearch = (text: string) => {
|
||||
props.onSearch?.(text);
|
||||
};
|
||||
|
||||
const handleOnSelect = (value: any, option: any) => {
|
||||
onSelect?.(value, option);
|
||||
};
|
||||
@@ -146,7 +143,7 @@ const SealAutoComplete: React.FC<
|
||||
onSelect={handleOnSelect}
|
||||
onFocus={handleOnFocus}
|
||||
onBlur={handleOnBlur}
|
||||
onSearch={handleSearch}
|
||||
showSearch={showSearch}
|
||||
onChange={handleChange}
|
||||
popupRender={popupRender}
|
||||
onInput={handleOnInput}
|
||||
|
||||
Reference in New Issue
Block a user