File size: 450 Bytes
1067b6f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | import { cn } from "@/lib/utils";
import { PropsWithChildren } from "react";
export const EmptyStateWrapper = (
props: PropsWithChildren<{
height: `${`h-[${number}px]`}`;
}>
) => {
return (
<div
className={cn(
"col-span-9 mt-4 gap-2 rounded-md border-2 border-dashed border-gray-200 p-6 text-center flex items-center justify-center flex-col",
props.height
)}
>
{props.children}
</div>
);
};
|