-
When I look at the code examples for a given component, say: https://paste.twilio.design/components/badge None of the examples show the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Here's an example of a code sample that's extremely difficult to be able to use because it has no import statements for any of the many components it's making use of. To make use of that code, I have to go track down all of those components. :sad: |
Beta Was this translation helpful? Give feedback.
-
Hey @dprothero - this is really helpful insight and something we've considered in the past. We plan to address this by adding "open in CodeSandbox" buttons to all the code examples on the website. That way you can easily see all the imports for components being used in any example, and add new components to the examples to play around with too. Here's the ticket - it's in our backlog and we unfortunately don't have an ETA on it yet because of the HAP but we'll update this thread once it's done. Thanks for the feedback! |
Beta Was this translation helpful? Give feedback.
Hey @dprothero - this is really helpful insight and something we've considered in the past. We plan to address this by adding "open in CodeSandbox" buttons to all the code examples on the website. That way you can easily see all the imports for components being used in any example, and add new components to the examples to play around with too. Here's the ticket - it's in our backlog and we unfortunately don't have an ETA on it yet because of the HAP but we'll update this thread once it's done. Thanks for the feedback!