import { useParams } from 'common' import { InlineLink } from 'components/ui/InlineLink' import { AlertCircle } from 'lucide-react' import { Alert_Shadcn_, AlertDescription_Shadcn_, AlertTitle_Shadcn_ } from 'ui' interface DataApiDisabledStateProps { description: string } export const DataApiDisabledState = ({ description }: DataApiDisabledStateProps) => { const { ref: projectRef } = useParams() return (
Data API is disabled Enable the Data API in the{' '} Overview {' '} tab to {description}.
) }