You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first version of the WorldMap component is now available! This release allows you to display a world map with customizable colors for countries.
Selectable Countries
You can now set countries to be selectable, allowing users to click on a country and toggle its color between the default and selected colors.
Customizable Colors
The default color and selected color of the countries can be customized through the color and selectedColor props.
Highlight Specific Countries
You can highlight specific countries by providing an array of country IDs through the countries prop. This will display those countries with the selectedColor on the map.
Interactive Map
The map supports interaction where users can select countries if the isSelectable prop is set to true.