Skip to content

Commit

Permalink
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 91a5817 commit cb214d4
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 @@ -181,13 +181,13 @@ Note: the React context, hooks, and components always set `submitEvent` to `true

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 4: 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 4: Properties of the CookieConsentChangeEvent] |

### React context

Expand Down

0 comments on commit cb214d4

Please sign in to comment.