Skip to content

Commit

Permalink
(hds-2532) release-4.0.0 Docs typo change
Browse files Browse the repository at this point in the history
  • Loading branch information
NikoHelle committed Nov 21, 2024
1 parent a303430 commit 4dde606
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions site/src/docs/components/cookie-consent/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,13 @@ Events are dispatched with `window.dispatchEvent` and can be listened with `wind

The `hds-cookie-consent-ready` callback is not called with any arguments. Other callback receive the same arguments.

| Property | Description | Type | Default |
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ---------- | ------- |
| `type` | Type of the event. Event types are listed in <InternalLink href="#events">events</InternalLink>. | `string` | - |
| `acceptedGroups` | Array of accepted group names. | `string[]` | `[]` |
| `storageType` | Only in monitor events. Type of storage where the unapproved item was found. | `string` | - |
| `storageKeys` | Only in monitor events. Keys of the unapproved items. | `string[]` | - |
| [Table 12: Properties of the useCookieConsentEvents] |
| Property | Description | Type | Default |
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ---------- | ------- |
| `type` | Type of the event. Event types are listed in <InternalLink href="#events">events</InternalLink>. | `string` | - |
| `acceptedGroups` | Array of accepted group names. | `string[]` | `[]` |
| `storageType` | Only in monitor events. Type of storage where the unapproved item was found. | `string` | - |
| `storageKeys` | Only in monitor events. Keys of the unapproved items. | `string[]` | - |
| [Table 12: Properties of the CookieConsentChangeEvent] |

### CSS variables

Expand Down

0 comments on commit 4dde606

Please sign in to comment.