Norbert de Langen c08a7462e2 Update README.md
2017-10-23 15:52:18 +02:00

36 lines
1.7 KiB
Markdown

# Storybook Comments Addon
[![Build Status on CircleCI](https://circleci.com/gh/storybooks/storybook.svg?style=shield)](https://circleci.com/gh/storybooks/storybook)
[![CodeFactor](https://www.codefactor.io/repository/github/storybooks/storybook/badge)](https://www.codefactor.io/repository/github/storybooks/storybook)
[![Known Vulnerabilities](https://snyk.io/test/github/storybooks/storybook/8f36abfd6697e58cd76df3526b52e4b9dc894847/badge.svg)](https://snyk.io/test/github/storybooks/storybook/8f36abfd6697e58cd76df3526b52e4b9dc894847)
[![BCH compliance](https://bettercodehub.com/edge/badge/storybooks/storybook)](https://bettercodehub.com/results/storybooks/storybook) [![codecov](https://codecov.io/gh/storybooks/storybook/branch/master/graph/badge.svg)](https://codecov.io/gh/storybooks/storybook)
[![Storybook Slack](https://now-examples-slackin-nqnzoygycp.now.sh/badge.svg)](https://now-examples-slackin-nqnzoygycp.now.sh/)
[![Backers on Open Collective](https://opencollective.com/storybook/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/storybook/sponsors/badge.svg)](#sponsors)
* * *
> THIS ADDON IS CURRENTLY NOT WORKING - NOT MAINTAINED
* * *
Storybook Comments Addon allows you to add comments for your stories in [Storybook](https://storybook.js.org).
This addon works with Storybook for:
[React](https://github.com/storybooks/storybook/tree/master/app/react).
![Screenshot](docs/screenshot.png)
## Getting Started
First, install the addon
```sh
npm install -D @storybook/addon-comments
```
Add this line to your `addons.js` file (create this file inside your storybook config directory if needed).
```js
import '@storybook/addon-comments/register';
```