Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import { ReactNode } from 'react';
export interface ButtonProps {
qa?: string;
'data-qa'?: string;
class?: string;
className?: string;
classList?: string;
defaultClassName?: string;
value?: any;
children?: any;
text?: any;
'aria-label'?: string;
'aria-controls'?: string;
identifier?: string;
/**
* @todo @deprecated remove invalid
*/
handleClick?: never;
onClick?: Function;
onSubmit?: Function;
renderProp?: ReactNode;
/**
* for default square buttons
*/
isSquare?: boolean;
isLowPriority?: boolean;
to?: string;
timeout?: number;
shouldAnimate?: boolean;
isAnimated?: boolean;
hasAnimation?: boolean;
isDisabled?: boolean;
isSelected?: boolean;
isFocused?: boolean;
isResting?: boolean;
isPushed?: boolean;
iconOrder?: string | number;
icon?: ReactNode;
tabIndex?: string | number;
isLink?: boolean;
role?: string;
id?: string;
label?: string;
states?: string;
center?: boolean;
green?: boolean;
blue?: boolean;
ghost?: boolean;
isPresentational?: boolean;
target?: string;
}