mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-16 14:06:49 +01:00
21 lines
446 B
TypeScript
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>
|
|
);
|
|
}
|