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

[addon-design-assets]: Update docs #13806

Closed
iwan-uschka opened this issue Feb 3, 2021 · 1 comment
Closed

[addon-design-assets]: Update docs #13806

iwan-uschka opened this issue Feb 3, 2021 · 1 comment

Comments

@iwan-uschka
Copy link

Is your feature request related to a problem? Please describe
It's possible to add assets like this

Story.parameters = {
  assets: [
    { name: "Mobile", url: require("./path/to/file1.jpg") },
    { name: "Tablet", url: require("./path/to/file1.jpg") },
    {
      name: "Desktop",
      url: require("./path/to/file1.jpg"),
    },
  ],
};

which is pretty cool. The documentation tells me nothing about the option of giving the asset a name.

@shilman
Copy link
Member

shilman commented Feb 17, 2021

we're going to deprecate this addon and are recommending https://github.com/pocka/storybook-addon-designs. closing.

@shilman shilman closed this as completed Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants