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

[A11Y] - FlagButton component does not allow passing props to it #157

Closed
ruanblimaig opened this issue Sep 13, 2024 · 0 comments
Closed

Comments

@ruanblimaig
Copy link

Hello, I need to pass an aria-label to the flag because I'm using the lib for an application with internationalization. However, the FlagButton component already inserts the aria-label of this component by default. Would it be possible to add this functionality, so that the FlagButton component can receive the aria-label? Or receive all the other props as the other components support.

Captura de Tela 2024-09-13 às 09 27 02

](

aria-label="Select country"
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant