Skip to content

Resolve conflicts with layout props #6

@ssomnoremac

Description

@ssomnoremac

I was completely unaware that you could set layout props directly on the component instead of in style

<View backgroundColor="red"/>

is the same as:

<View styles={{backgroundColor: "red"}}/>

at least as far as I can tell. So margin={0} is already implemented and this library doesn't need to address that. But what's interesting is this fails:

position={[23,13]} 

but

margin={[34,23]} 

does not. I'm going to look at why, because I think I had position working at one point. Are there any other conflicts we should worry about?

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