Support Nested Properties #449
waynevanson
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would really like to be able to DIY the way I consume sprinkles.
Any shape (struct or tuple) of any depth for properties. This has to be the only feature I'm dying to have.
The depth allows us create far more complex structures.
Looking at the code, it's probably possible.
Only consider the deepest struct as the
StyleRule
.There's much more I probably haven't considered.
The type error from the below snipped can be seen here: https://codesandbox.io/s/lingering-worker-rszli?file=/src/index.ts
Would this be a welcome addition to the API?
Beta Was this translation helpful? Give feedback.
All reactions