-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
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
Labels
No labels