Inline style props à la Shopify Restyle #701
timoisalive
started this conversation in
Feature Requests
Replies: 1 comment 8 replies
-
Hey, Unistyles is only about styling and has no extra abstraction. You can simply build your own components like Restyle Box. You just need to accept some props and pass them as inline style to the Native View. At Codemask we also use own abstraction on top of Unistyles! We just don't want to release it the main Unistyles repo. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has there ever been thoughts about enabling use of inline style props like Shopify Restyle or the late Styled System?
For example:
I really like how Unistyles works, but co-locating the styles with component definition would be a big plus!
Beta Was this translation helpful? Give feedback.
All reactions