Skip to content

How to have a multiline button? #2583

Description

@EduVencovsky

I'm trying to use the Button component with multiple lines of text, is it even possible?

I was looking at the source code and found that the Text component of the Button have a fixed prop numberOfLines={1}. Maybe it should be possible to customize the Text component passing something like textProps?

I know that multiline button goes agains material design guide lines, but... is it possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions