delete diagram

This commit is contained in:
Guy Ben-Aharon
2024-08-24 14:03:45 +03:00
parent 7d82e75f7e
commit ed90268366
3 changed files with 26 additions and 5 deletions

View File

@@ -11,8 +11,9 @@ export interface EmptyStateProps {
export const EmptyState = forwardRef<
HTMLDivElement,
React.HTMLAttributes<HTMLDivElement> & EmptyStateProps
>(({ title, description, className }) => (
>(({ title, description, className }, ref) => (
<div
ref={ref}
className={cn(
'flex flex-col items-center justify-center space-y-1',
className
@@ -25,3 +26,5 @@ export const EmptyState = forwardRef<
</Label>
</div>
));
EmptyState.displayName = 'EmptyState';