mirror of
https://github.com/supabase/supabase.git
synced 2026-06-10 04:26:19 +08:00
## 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" />
18 lines
540 B
TypeScript
18 lines
540 B
TypeScript
import { AlertCircle } from 'lucide-react'
|
|
import { Alert, AlertTitle, CardContent } from 'ui'
|
|
import { ShimmeringLoader } from 'ui-patterns/ShimmeringLoader'
|
|
|
|
export const DataApiEnableSwitchLoading = () => (
|
|
<CardContent className="space-y-2">
|
|
<ShimmeringLoader />
|
|
<ShimmeringLoader className="w-3/4" delayIndex={1} />
|
|
</CardContent>
|
|
)
|
|
|
|
export const DataApiEnableSwitchError = () => (
|
|
<Alert variant="destructive">
|
|
<AlertCircle size={16} />
|
|
<AlertTitle>Failed to retrieve Data API settings</AlertTitle>
|
|
</Alert>
|
|
)
|