useAvailableCountries

The useAvailableCountries hook returns an array of available countries used for localization. It must be a descendent of a LocalizationProvider component.

Example code

Return value

An array of country objects with isoCode and name keys.