Skip to content

Commit

Permalink
Merge pull request #4 from yannbf/docs/update-readme
Browse files Browse the repository at this point in the history
docs(README): remove unnecessary /preset from instructions
  • Loading branch information
itaditya authored Jul 12, 2022
2 parents 0ee3d7c + e97f420 commit 9ddcf63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ Show all variants of a component in a grid
npm install storybook-addon-variants
```

#### And lastly, register the preset
#### And lastly, register the addon

```js
// .storybook/main.js

module.exports = {
stories: [...],
addons: ["storybook-addon-variants/preset.js"],
addons: ["storybook-addon-variants"],
};

```

1 comment on commit 9ddcf63

@vercel
Copy link

@vercel vercel bot commented on 9ddcf63 Jul 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.