You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to create a rectangle with only the top corners to be rounded, but this always gives me a runtime error, despite following the format from the documentation. I tried to use it like this
I followed the described format from the documentation and the allowed type as I find it in the TS code. However, I still get a runtime error saying 'Exception in HostFunction: Value is undefined, expected a number'. I get a runtime error for both the Path.Make method and using the RoundedRect component directly.
Despite using the right TS type (that gives me no error), it seems it still expects a radius prop at runtime, ignoring the valid alternative type using the top/bottom/Left/Right props. So, it seems to me something might go wrong somewhere behind the scenes in the source code when handling these.
I tried to create a rectangle with only the top corners to be rounded, but this always gives me a runtime error, despite following the format from the documentation. I tried to use it like this
I followed the described format from the documentation and the allowed type as I find it in the TS code. However, I still get a runtime error saying 'Exception in HostFunction: Value is undefined, expected a number'. I get a runtime error for both the
Path.Make
method and using theRoundedRect
component directly.Despite using the right TS type (that gives me no error), it seems it still expects a radius prop at runtime, ignoring the valid alternative type using the top/bottom/Left/Right props. So, it seems to me something might go wrong somewhere behind the scenes in the source code when handling these.
Originally posted by @ava-m-c in #2371 (comment)
The text was updated successfully, but these errors were encountered: