This commit is contained in:
Manav Rathi
2024-09-07 16:59:10 +05:30
parent c4c9f71b01
commit 752ae51f46

View File

@@ -49,7 +49,7 @@ import MenuWithPeople from "./MenuWithPeople";
const { Option, ValueContainer } = components;
interface Iprops {
interface SearchInputProps {
isOpen: boolean;
updateSearch: UpdateSearch;
setIsOpen: (value: boolean) => void;
@@ -68,7 +68,7 @@ const VisibleInput = (props) => (
<components.Input {...props} isHidden={false} />
);
export default function SearchInput(props: Iprops) {
export default function SearchInput(props: SearchInputProps) {
const selectRef = useRef(null);
const [value, setValue] = useState<SearchOption>(null);
const appContext = useContext(AppContext);