The CountrySelector
is a collapsible UI panel that enables users to select or deselect countries using a searchable list. It complements the map interface by offering a textual way to manage selections.
This component provides an accessible and searchable interface for users who prefer to select countries from a list rather than interacting with the map. It supports batch selection logic by working with confirmed and pending selections.
onTogglePending
src/
├── Components/
│ └── components/
│ └── countrySelector/
│ ├── CountrySelector.tsx
│ ├── CountrySelector.css
│ └── CountrySelector.test.tsx
countries.ts
from the data/
folderleaflet
to control event bubbling inside the map