Skip to content

Add SwiftUI Button #86

Open
Open
@mpospese

Description

@mpospese

Implement a SwiftUI version of TypographyButton.

It should be named TextStyleButton and it should wrap TypographyButton using a TypographyButtonRepresentable.

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

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

It's OK for this to be only for single line buttons (just as TextStyleLabel is only for single line labels for now).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions