mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
23 lines
524 B
TypeScript
23 lines
524 B
TypeScript
import { IconAlertCircle } from 'ui'
|
|
|
|
import InformationBox from 'components/ui/InformationBox'
|
|
|
|
interface NotFoundStateProps {
|
|
id: string | number
|
|
}
|
|
|
|
const NotFoundState = ({ id }: NotFoundStateProps) => {
|
|
return (
|
|
<div className="flex items-center justify-center h-full">
|
|
<div className="w-[400px]">
|
|
<InformationBox
|
|
icon={<IconAlertCircle strokeWidth={2} />}
|
|
title={`Unable to find your table with ID ${id}`}
|
|
/>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default NotFoundState
|