Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding the "Open in Stackblitz" to the rest of components #18344

Open
guidari opened this issue Jan 14, 2025 · 0 comments
Open

Adding the "Open in Stackblitz" to the rest of components #18344

guidari opened this issue Jan 14, 2025 · 0 comments

Comments

@guidari
Copy link
Contributor

guidari commented Jan 14, 2025

This PR added the "Open in Stackblitz" to all stories that had the Canvas already setup.

In this issue it should be added the to the variants that don't have it. There is no need to add additional docs, the <Canvas /> should be enough.

Example:

<Canvas
  of={Component.Default}
  additionalActions={[
    {
      title: 'Open in Stackblitz',
      onClick: () => stackblitzPrefillConfig(Component.Default),
    },
  ]}
/>

Note: After adding the code, it should be tested by opening it in Stackblitz to ensure everything works as expected. Some stories might not function properly in Stackblitz, so we’ll need to evaluate whether they can be fixed or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Development

No branches or pull requests

1 participant