Files
yaak/src-web/components/EmptyStateText.tsx
2024-02-24 12:41:43 -08:00

21 lines
446 B
TypeScript

import classNames from 'classnames';
import type { ReactNode } from 'react';
interface Props {
children: ReactNode;
className?: string;
}
export function EmptyStateText({ children, className }: Props) {
return (
<div
className={classNames(
className,
'rounded-lg border border-dashed border-highlight h-full py-2 text-gray-400 flex items-center justify-center',
)}
>
{children}
</div>
);
}