mirror of
https://github.com/supabase/supabase.git
synced 2026-06-24 01:43:09 +08:00
23 lines
528 B
TypeScript
23 lines
528 B
TypeScript
import InformationBox from 'components/ui/InformationBox'
|
|
import { FC } from 'react'
|
|
import { IconAlertCircle } from 'ui'
|
|
|
|
interface Props {
|
|
id: string | number
|
|
}
|
|
|
|
const NotFoundState: FC<Props> = ({ id }) => {
|
|
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
|