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

fix(TextField): add support for inputProps.className #399

Closed
wants to merge 1 commit into from

Conversation

stdavis
Copy link
Member

@stdavis stdavis commented Dec 19, 2024

This is just an idea. I wanted to make the TextField for address verification larger since it's the star of the show.

The other option that I thought of is to create a size prop.

Copy link
Contributor

Visit the preview URL for this PR (updated for commit 44a3669):
Firebase Preview: https://ut-dts-agrc-kitchen-sink-dev--fix-textfield-classname-5yyw9fci.web.app
(expires "2025-01-02T17:40:43.662668971Z" )

@steveoh
Copy link
Member

steveoh commented Dec 20, 2024

The utah design system doesn't define different text box sizes. I wonder in this case if it would be more appropriate to use the rac components directly outside of the design system to achieve this instead of modifying the design system.

I also thought this would fail typescript checks since InputProps omits className and style.

@stdavis
Copy link
Member Author

stdavis commented Dec 20, 2024

No problem. I'll use a RAC component directly.

@stdavis stdavis closed this Dec 20, 2024
auto-merge was automatically disabled December 20, 2024 15:43

Pull request was closed

@steveoh steveoh deleted the fix/textfield-classname branch December 20, 2024 17:20
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

Successfully merging this pull request may close these issues.

2 participants