YMatterType icon indicating copy to clipboard operation
YMatterType copied to clipboard

Add SwiftUI TextField

Open mpospese opened this issue 2 years ago • 0 comments

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 avatar May 05 '23 10:05 mpospese