ponchojs
Version:
Poncho
18 lines (17 loc) • 570 B
TypeScript
/// <reference types="react" />
export declare type BtnVariant = 'primary' | 'link' | 'success' | 'danger';
declare type Props = React.PropsWithChildren<Partial<{
isTag: boolean;
variant: BtnVariant;
size: 'sm' | 'md';
loading: boolean;
disabled: boolean;
onClick: (event: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
icon: string;
className: string;
classes: {
root: string;
};
}>>;
export declare const Button: import("react").MemoExoticComponent<(props: Props) => JSX.Element>;
export {};