Skip to content

Commit

Permalink
Merge pull request #44 from Jersyfi/v2.x
Browse files Browse the repository at this point in the history
README update & default values
  • Loading branch information
Jersyfi authored Feb 15, 2023
2 parents cb56953 + 9babee4 commit a9cd925
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ react-cookify is essentially a set of npm packages.
npm install react-cookify
```

To view the complete documentation, please follow the link to [Cookify Docs](https://cookify.jersyfi.dev/).
To view the complete documentation, please follow the link to [Cookify Docs v2.0](https://cookify.jersyfi.dev/).

## Framework Support & Features
You can view all library languages and supported features [here](https://github.com/Jersyfi/cookify#framework-support--features).
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-cookify",
"version": "2.0.1-beta.1",
"version": "2.0.2-beta.1",
"description": "Simple, customizable open source cookie consent banner for GDPR law",
"scripts": {
"lint": "eslint src/**/*.{js,jsx,ts,tsx,json}",
Expand Down
8 changes: 4 additions & 4 deletions src/components/consent/consent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const Consent: React.FC<ConsentProps> = ({ consent }) => {
},
{
action: 'all',
label: 'Accept all cookies',
label: 'Accept all',
schema: 'strong'
}
]
Expand Down Expand Up @@ -93,17 +93,17 @@ export const Consent: React.FC<ConsentProps> = ({ consent }) => {
buttons: consent?.detail?.buttons || [
{
action: 'necessary',
label: 'Necessary',
label: 'Only necessary',
schema: 'week'
},
{
action: 'accept',
label: 'Accept',
label: 'Accept selected',
schema: 'week'
},
{
action: 'all',
label: 'All',
label: 'Accept all',
schema: 'strong'
}
]
Expand Down

0 comments on commit a9cd925

Please sign in to comment.