useAdkit Hook
Access Adkit state and methods from any component.
Overview
The useAdkit hook provides access to Adkit context from any component within the provider.
Usage
Return Value
| Property | Type | Description |
|---|---|---|
siteId | string | Current site ID |
theme | string | Current theme |
slots | Map<string, Slot> | Loaded slot data |
refresh | () => void | Force refresh slot data |
Content coming soon.