I'm currently looking to use React intl as a way of formatting the currency to be the default of the country that the user is in from the browser. From the documentation, I can see that you input the currency to be a specific type (e.g. USD) - see code below. How would you do it so it's the browser default of the country that the user is in? Is there some sort of default locale I should be using for the currency string?
<IntlProvider locale="en">
<FormattedNumber value={1000} style="currency" currency="USD" />
</IntlProvider>
// Output = $1,000
Thanks in advance!