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

[feat] FileInput should allow optional preview header text #3115

Open
mkalish opened this issue Mar 24, 2025 · 0 comments · May be fixed by #3116
Open

[feat] FileInput should allow optional preview header text #3115

mkalish opened this issue Mar 24, 2025 · 0 comments · May be fixed by #3116
Labels
type: feature New feature or request

Comments

@mkalish
Copy link

mkalish commented Mar 24, 2025

Does your feature request relate to a specific USWDS component?

FileInput

What USWDS Version is this feature present in?

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

FileInput accepts a new optional prop previewHeadingText that allows overriding the "Change file" and "Selected file" portion of the UI

Describe alternatives you've considered

FileInput accepts a new optional prop fileTypeDescriptorText that would override just the word "file" in the example above.

Additional context

Screenshot of the result after an expected change

Image
@mkalish mkalish added the type: feature New feature or request label Mar 24, 2025
@mkalish mkalish linked a pull request Mar 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant