Files
supabase/apps/studio/components/interfaces/Settings/API/DataApiDisabledAlert.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

20 lines
579 B
TypeScript

import { Alert, AlertDescription, AlertTitle, WarningIcon } from 'ui'
export const DataApiDisabledAlert = () => {
return (
<Alert variant="warning">
<WarningIcon />
<AlertTitle>No schemas can be queried</AlertTitle>
<AlertDescription>
<p>
With this setting disabled, you will not be able to query any schemas via the Data API.
</p>
<p>
You will see errors from the Postgrest endpoint{' '}
<code className="text-code-inline">/rest/v1/</code>.
</p>
</AlertDescription>
</Alert>
)
}