18 lines
396 B
TypeScript
18 lines
396 B
TypeScript
import React from 'react';
|
|
import { cn } from '@utils/utils';
|
|
|
|
interface EmptyStateProps {
|
|
message: string;
|
|
className?: string;
|
|
}
|
|
|
|
export const EmptyState: React.FC<EmptyStateProps> = ({ message, className }) => {
|
|
return (
|
|
<div className={cn(
|
|
"flex-1 flex justify-center items-center py-8 text-sm text-slate-500 italic",
|
|
className
|
|
)}>
|
|
{message}
|
|
</div>
|
|
);
|
|
}; |