/** * Copyright 2022 Design Barn Inc. */ import { Appearance, Button, Size } from '@lottiefiles/react-ui-kit'; import React from 'react'; import { EmptyImage } from '../../../../../assets/Icons'; interface Action { name: string; onAction: () => void; } interface EmptyProps { action?: Action; description?: string; fullscreen?: boolean; icon?: React.ReactNode; title?: string; } export const Empty: React.FC = ({ action, description, icon = , title = 'Empty !', }: EmptyProps) => { return (
{icon}

{title}

{description &&

{description}

} {action && (
)}
); };