Sprinkles: Possible bug about same property defined in different "defineProperties" methods #1404
filippinifra-coverzen
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, using sprinkles I defined the same property "maxWidth" in 2 different "defineProperties" methods:
and
I'm passing the same maxWidth objects to both.
The problem is that when i try to use the maxWidth prop in a classname with sprinkles like this
it generate this error:
SprinklesError: "maxWidth" has no condition named "mobile". Possible values are "default", "disabled", "focus", ...
I did not find something in the doc about same prop in different defineProperties method, is there a solution?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions