import type { ButtonHTMLAttributes, ReactNode } from "react";
import { cx } from "./common";
export function Button({
variant = "secondary", busy = false, disabled, className, children, ...props
}: ButtonHTMLAttributes & {
variant?: "primary" | "secondary" | "ghost" | "danger";
busy?: boolean;
}) {
return ;
}
export function EmptyState({ title, children }: { title: string; children?: ReactNode }) {
return
{title}
{children &&
{children}
}
;
}