mirror of
https://github.com/supabase/supabase.git
synced 2026-10-08 19:05:06 +03:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
32 lines
936 B
TypeScript
32 lines
936 B
TypeScript
import { AlertCircle } from 'lucide-react'
|
|
|
|
import InformationBox from '@/components/ui/InformationBox'
|
|
import Panel from '@/components/ui/Panel'
|
|
|
|
interface DisabledWarningDueToIncidentProps {
|
|
title: string
|
|
}
|
|
|
|
export const DisabledWarningDueToIncident = ({ title }: DisabledWarningDueToIncidentProps) => {
|
|
return (
|
|
<Panel.Content className="pb-8">
|
|
<InformationBox
|
|
icon={<AlertCircle size={20} strokeWidth={1.5} />}
|
|
defaultVisibility={true}
|
|
hideCollapse
|
|
title={title}
|
|
description={
|
|
<div className="space-y-3">
|
|
<p className="text-sm leading-normal">
|
|
Our engineers are currently working on a fix. You can follow updates on{' '}
|
|
<a className="text-brand" href="https://status.supabase.com/">
|
|
https://status.supabase.com/
|
|
</a>
|
|
</p>
|
|
</div>
|
|
}
|
|
/>
|
|
</Panel.Content>
|
|
)
|
|
}
|