Skip to content

flex: 0 1 auto causes a "Failed to parse declaration" error #43

@Kingles

Description

@Kingles

the default value for the flex shorthand (0 1 auto) fails to be parsed by css-to-react-native when passed through styled-components

repro case:

import { styled } from 'styled-components/native'

const MyComponent = styled.View`
  flex: 0 1 auto;
`

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