Skip to content

Commit

Permalink
docs: Delete description for decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
hwookim committed Sep 10, 2023
1 parent 8db6c7b commit b7fffe4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
18 changes: 0 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,6 @@ module.exports = {
};
```

If you want to use it only in a specific story, you can provide `cookieDecorator` to story.

But you can't control cookie by the panel.

```js
// Component.stories.jsx
import React from 'react';
import Component from './Component';

import { cookieDecorator } from 'storybook-addon-cookie';

export default {
title: 'Component',
compoent: Component,
decorators: [cookieDecorator],
};
```

## Usage

You can pass cookie object into `cookie` parameter.
Expand Down
18 changes: 0 additions & 18 deletions packages/addon/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,24 +46,6 @@ module.exports = {
};
```

If you want to use it only in a specific story, you can provide `cookieDecorator` to story.

But you can't control cookie by the panel.

```js
// Component.stories.jsx
import React from 'react';
import Component from './Component';

import { cookieDecorator } from 'storybook-addon-cookie';

export default {
title: 'Component',
compoent: Component,
decorators: [cookieDecorator],
};
```

## Usage

You can pass cookie object into `cookie` parameter.
Expand Down

0 comments on commit b7fffe4

Please sign in to comment.