Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README update & default values #44

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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