> ## Documentation Index
> Fetch the complete documentation index at: https://docs.renchi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# DataConsentDialog

> DataConsentDialog component

First-time user consent dialog for data usage.

Shown on first login to inform users their data may be used to improve the AI models. Users acknowledge by clicking "Got it" and can opt out later in Settings > Privacy.

## Props

<ResponseField name="open" type="boolean" required={true}>
  open
</ResponseField>

<ResponseField name="onOpenChange" type="(open: boolean) => void" required={true}>
  onOpenChange
</ResponseField>

<ResponseField name="onAcknowledged" type="() => void" required={false}>
  onAcknowledged
</ResponseField>

## Usage

```tsx theme={null}
import { DataConsentDialog } from '@/components/DataConsentDialog';

export default function Example() {
  return (
    <DataConsentDialog open={open} onOpenChange={onOpenChange} />
  );
}
```
