Why is the opacity
prop in the Backdrop not limited to the range between 0 and 1?
#1920
Unanswered
AradSharafi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I noticed that the
opacity
prop in theBackdrop
component accepts a number but doesn't restrict this number to the typical range of 0 to 1. In most other libraries,opacity
is constrained between 0 (fully transparent) and 1 (fully opaque).Could you please explain the rationale behind allowing any number for the
opacity
prop? Is there a specific use case or flexibility intended with this design?Thanks for your time and for this awesome library!
Beta Was this translation helpful? Give feedback.
All reactions