@alauda/doom
Version:
Doctor Doom making docs.
9 lines (8 loc) • 412 B
TypeScript
import type { ButtonHTMLAttributes } from 'react';
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
type?: 'primary';
htmlType?: 'submit' | 'reset' | 'button';
block?: boolean;
loading?: boolean;
}
export declare const Button: ({ className, block, type, htmlType, loading, disabled, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;