src/components/commons/sections/EmptySection.tsx
import classNames from "classnames";
interface EmptySectionProps {
message: string;
className?: string;
testId?: string;
}
export function EmptySection(props: EmptySectionProps): JSX.Element {
return (
<div
className={classNames(
"text-gray-400 flex w-full justify-center p-12 rounded-lg mt-4 border dark:border-gray-600 dark:bg-gray-800",
props.className
)}
data-testid={props.testId}
>
{props.message}
</div>
);
}