Privacy Dashboard
displayUser-facing privacy dashboard for managing data, consents, and downloads.
Preview
No preview available
Check the code examples below.
Installation
npm install @launchapp/design-systemImport
import { PrivacyDashboard } from "@launchapp/design-system";Examples
Privacy control center
<PrivacyDashboard consents={[ { id: "1", type: "analytics", granted: true, timestamp: "2024-01-01T10:00:00Z", version: "1.0" }, ]} onDownloadData={() => console.log("download")} onDeleteAccount={() => console.log("delete account")}/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
consents* | ConsentEntry[] | — | Current consent records. |
onDownloadData | () => void | — | Called when user requests data export. |
onDeleteAccount | () => void | — | Called when user requests account deletion. |