All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
18 lines
421 B
TypeScript
Executable File
18 lines
421 B
TypeScript
Executable File
import { mdiAlert } from '@mdi/js'
|
|
import Icon from '@mdi/react'
|
|
|
|
interface CellFailureProps {
|
|
error: Error
|
|
}
|
|
|
|
const CellFailure = ({ error }: CellFailureProps) => (
|
|
<div className="flex w-auto justify-center">
|
|
<div className="alert alert-error w-auto">
|
|
<Icon path={mdiAlert} className="size-6" />
|
|
<p className="font-inter">Error! {error.message}</p>
|
|
</div>
|
|
</div>
|
|
)
|
|
|
|
export default CellFailure
|