Files
portfolio/web/src/components/Cell/CellFailure/CellFailure.tsx
Ahmed Al-Taiar 0283c293ef
All checks were successful
Publish Docker Image / Publish Docker Image (push) Successful in 39s
An attempt to fix the PDF iframe not loading properly when the API domain is third-partyBasic printer CRUD
2025-04-06 18:08:05 -04:00

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