Skip to content

Instantly share code, notes, and snippets.

View Divuzki's full-sized avatar
🏁
Create Billion Dollar Ideas

Divine Ikhuoria Divuzki

🏁
Create Billion Dollar Ideas
View GitHub Profile
@Divuzki
Divuzki / DropDownSearchComponent.jsx
Last active July 11, 2023 09:36
Versatile Dropdown Search Component for React
import React, { memo, useEffect, useId, useState } from "react";
import { MdChevronLeft } from "react-icons/md";
import { motion } from "framer-motion";
import InfiniteScroll from "react-infinite-scroller";
import ClickOutSideComponent from "./ClickOutSideComponent";
const SingleSelectComponent = memo(
({
name,
handleChange,