Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom CountryRegionData #76

Open
rhdez opened this issue Aug 28, 2019 · 3 comments
Open

Custom CountryRegionData #76

rhdez opened this issue Aug 28, 2019 · 3 comments
Milestone

Comments

@rhdez
Copy link

rhdez commented Aug 28, 2019

Hi, Guys. Is it possible to use a custom CountryRegionData?

Thanks in advance!

@SivaGanesh56
Copy link

Yes my requirement is also same. guys can you please respond on this quickly

@iamclaytonray
Copy link
Contributor

iamclaytonray commented Jan 19, 2021

You can create a new array like:

import { CountryRegionData } from 'react-country-region-selector';
const regionData = [...CountryRegionData, { ...newStuff }];

@eddiej
Copy link

eddiej commented Oct 11, 2022

How can this custom data be fed into the Selector?

@benkeen benkeen added this to the 4.1.0 milestone Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants