Skip to content

Commit

Permalink
docs: Encoding option
Browse files Browse the repository at this point in the history
  • Loading branch information
hwookim committed Oct 24, 2023
1 parent 15787a3 commit ccdb646
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,22 @@ export const WithOutCookie = Template.bind({});
```

Each Story has independent cookie.

### Encoding cookie

If you want to encode the cookies on the panel, you can use the `cookieEncoding` option.

```jsx
export const WithEncodedCookie: Story = {
parameters: {
cookie: {
test: 'TEST!',
},
cookieEncoding: true,
},
};
```

This option defaults to `false`.

You can use this option after `v3.1.0`

0 comments on commit ccdb646

Please sign in to comment.