How to pass dynamic variables to custom component #2449
Replies: 1 comment
-
- <SwaggerUI url="https://petstore.swagger.io/v2/swagger.json" isDark="{{isDark}}" />
+ <SwaggerUI url="https://petstore.swagger.io/v2/swagger.json" :isDark="isDark" /> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
akshaybabloo
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.
-
I have a custom component that loads in a swagger UI and the way I call it is
isdark
property expects a Boolean but sends it as{{isDark}}
. I am not sure how to pass that variable through.Any help is appreciated.
Beta Was this translation helpful? Give feedback.
All reactions