Skip to content

Error: Failed to parse declaration "flex: 0 1" #37

@apexskier

Description

@apexskier

The shorthand property

flex: 0 1;

Should be parsed to

flex-grow: 0;
flex-shrink: 1;

reproduction on the node repl:

require('css-to-react-native').default([['flex', '0 1']])

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