{/* This is the searchInput */}
{
console.log('Change happened');
props.refetch({ searchTerm: e.target.value });
},
style: { fontSize: '20px', padding: '10px', display: 'block', width: '100%' },
})}
/>
{isOpen ? (
{/* This is the Dropdown */}
{items.map((item, index) => (
{item.title}
))}
) : null}
)}