Files
supabase/apps/studio/components/interfaces/Account/Preferences/AccountDeletion.tsx
Gildas Garcia 0713a1efc1 chore: remove shadcn suffix for Input, Textarea, Alert and Collapsible (#45867)
## Problem

Now that we migrated old components to their new shadcn alternatives, we
don't need the `_Shadcn_` suffix anymore.

## Solution

Remove it

<img width="659" height="609" alt="image"
src="https://github.com/user-attachments/assets/2d7271a9-066a-4dcc-92fe-729b106d2c2f"
/>
2026-05-15 14:55:37 +02:00

41 lines
1.3 KiB
TypeScript

import { Alert, AlertDescription, AlertTitle, CriticalIcon } from 'ui'
import {
PageSection,
PageSectionContent,
PageSectionDescription,
PageSectionMeta,
PageSectionSummary,
PageSectionTitle,
} from 'ui-patterns/PageSection'
import { DeleteAccountButton } from './DeleteAccountButton'
export const AccountDeletion = () => {
return (
<PageSection>
<PageSectionMeta>
<PageSectionSummary>
<PageSectionTitle>Danger zone</PageSectionTitle>
<PageSectionDescription>
Permanently delete your Supabase account and data.
</PageSectionDescription>
</PageSectionSummary>
</PageSectionMeta>
<PageSectionContent>
<Alert variant="destructive">
<CriticalIcon />
<AlertTitle>Request for account deletion</AlertTitle>
<AlertDescription>
Deleting your account is permanent and cannot be undone. Your data will be deleted
within 30 days, but we may retain some metadata and logs for longer where required or
permitted by law.
</AlertDescription>
<AlertDescription className="mt-3">
<DeleteAccountButton />
</AlertDescription>
</Alert>
</PageSectionContent>
</PageSection>
)
}