Skip to content

Commit

Permalink
Improve example
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskupczyk committed Oct 23, 2023
1 parent 94112e3 commit 7d77213
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ import { ConsentProvider } from 'react-hook-consent';
{ id: 'inline-code', code: `alert("I am a JavaScript code");` },
],
cookies: [{ pattern: 'cookie-name' }],
localStorage: ['local-storage-key'],
sessionStorage: ['session-storage-key'],
mandatory: true,
},
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-hook-consent",
"version": "3.5.0",
"version": "3.5.1",
"description": "React consent management solution and banner for cookies and (external) scripts.",
"scripts": {
"build": "node esbuild.config.mjs production",
Expand Down

0 comments on commit 7d77213

Please sign in to comment.