import { useState } from "react"; import { Input, Space, Select } from "antd"; const { Search } = Input; const FindWidget = () => { const [isLoading, setIsLoading] = useState(false); const onSearch = (value: string) => { setIsLoading(true); console.log(value); }; const onReplace = (value: string) => { console.log(value); }; return (