Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaskupczyk committed Dec 3, 2023
1 parent b3c45ed commit 24d5123
Show file tree
Hide file tree
Showing 44 changed files with 840 additions and 1,560 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ The `services` array can be configured as follows:
| Name | Type | Required | Description |
| ---- | ------ | -------- | ------------------------------------------------------------- |
| id | string | yes | A unique id for the script, e.g. 'myscript' |
| src | string | yes | The link to the script, e.g. 'https://myscript.com/script.js' |
| src | string | yes | The link to the script, e.g. `https://myscript.com/script.js` |

`ScriptCode` has the following options:

Expand Down Expand Up @@ -135,7 +135,7 @@ import 'react-hook-consent/dist/styles/style.css';
<App />
<ConsentBanner
settings={{ hidden: false, label: 'More', modal: { title: 'Modal title' } }}
decline={{ show: true, label: 'No' }}
decline={{ hidden: false, label: 'No' }}
approve={{ label: 'Yes' }}
>
<>
Expand Down
47 changes: 0 additions & 47 deletions docs/docs/api/intro.md

This file was deleted.

7 changes: 0 additions & 7 deletions docs/docs/api/use-consent-manager/_category_.json

This file was deleted.

Binary file not shown.
Binary file not shown.
55 changes: 0 additions & 55 deletions docs/docs/api/use-consent-manager/manage-docs-versions.md

This file was deleted.

88 changes: 0 additions & 88 deletions docs/docs/api/use-consent-manager/translate-your-site.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/docs/api/use-consent/_category_.json

This file was deleted.

23 changes: 0 additions & 23 deletions docs/docs/api/use-consent/congratulations.md

This file was deleted.

34 changes: 0 additions & 34 deletions docs/docs/api/use-consent/create-a-blog-post.md

This file was deleted.

57 changes: 0 additions & 57 deletions docs/docs/api/use-consent/create-a-document.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/docs/api/use-consent/create-a-page.md

This file was deleted.

Loading

0 comments on commit 24d5123

Please sign in to comment.