Default country not working
Opened this issue · 0 comments
ericdjavid commented
Hello,
When I try to use the default country attribute, I have this error message :
Type '{ defaultCountry: string; selected: string; onSelect: (code: string) => void; countries: string[]; customLabels: { US: string; FR: string; }; }' is not assignable to type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
Property 'defaultCountry' does not exist on type 'IntrinsicAttributes & Props & { children?: ReactNode; }'.
I think this attribute is deprecated but it is still present on the documentation on file v1.md