Uecko_ERP/modules/customers/src/web/components/not-found-card.tsx

20 lines
530 B
TypeScript
Raw Normal View History

2025-09-17 17:37:41 +00:00
// components/NotFoundCard.tsx
import { BackHistoryButton } from "@repo/rdx-ui/components";
interface NotFoundCardProps {
title: string;
message: string;
}
export const NotFoundCard = ({ title, message }: NotFoundCardProps) => (
<>
<div className='rounded-lg border bg-card p-6'>
<h3 className='text-lg font-semibold'>{title}</h3>
<p className='text-sm text-muted-foreground'>{message}</p>
</div>
<div className='mt-4 flex items-center justify-end'>
<BackHistoryButton />
</div>
</>
);