Skip to content

Let Text component support flex prop #178

@selbekk

Description

@selbekk

Is there a way we can make the default Text-component support the flex prop?

Today, this doesn't work:

<Text flex="1">My text takes up all the space</Text>

But this does:

<Text style={{ flex: "1" }}>My text takes up all the space</Text>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions