Skip to content

How to have a multiline button? #2583

@EduVencovsky

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?

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