@excalidraw/excalidraw
Version:
Excalidraw as a React component
11 lines (10 loc) • 489 B
TypeScript
import type { ReactNode } from "react";
import "./DialogActionButton.scss";
interface DialogActionButtonProps {
label: string;
children?: ReactNode;
actionType?: "primary" | "danger";
isLoading?: boolean;
}
declare const DialogActionButton: ({ label, onClick, className, children, actionType, type, isLoading, ...rest }: DialogActionButtonProps & React.ButtonHTMLAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
export default DialogActionButton;