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

Add SwiftUI TextField #87

Open
mpospese opened this issue May 5, 2023 · 0 comments
Open

Add SwiftUI TextField #87

mpospese opened this issue May 5, 2023 · 0 comments
Labels
enhancement New feature or request SwiftUI

Comments

@mpospese
Copy link
Contributor

mpospese commented May 5, 2023

Implement a SwiftUI version of TypographyTextField.

It should be named TextStyleTextField and it should wrap TypographyTextField using a TypographyTextFieldRepresentable.

See TextStyleLabel and TypographyLabelRepresentable for how to structure code and how to unit test as best as possible.

The import parts are that the text field should have a height that is determined by the line height of the Typography (and whatever padding it might have).

@mpospese mpospese added enhancement New feature or request SwiftUI labels May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request SwiftUI
Development

No branches or pull requests

1 participant