@comparaonline/ui-navigation-country-selector
v6.1.0
Published
## Installation
Downloads
49
Maintainers
Keywords
Readme
@comparaonline/ui-navigation-country-selector
Installation
yarn add @comparaonline/ui-navigation-country-selector
Usage
const countries = [
{ countryName: 'Chile', imageUrl: ..., redirectUrl: ... },
{ countryName: 'Brazil', imageUrl: ..., redirectUrl: ... },
...
];
const selected = 'Chile';
<CountrySelector countries={countries} selected={selected} />