- Button(__namedParameters): JSX.Element
Parameters
- __namedParameters: {
children: ReactNode;
disabled?: boolean;
onClick?: ((e) => void);
size?: "large" | "small" | "xs";
style?: "primary" | "secondary" | "danger" | "outline" | "outline-lite";
styles?: CSSProperties;
type?: "submit" | "button" | "reset";
}children: ReactNode
Optional
disabled?: boolean
Optional
onClick?: ((e) => void)
- (e): void
Parameters
- e: MouseEvent<HTMLButtonElement, MouseEvent>
Returns void
Optional
size?: "large" | "small" | "xs"
Optional
style?: "primary" | "secondary" | "danger" | "outline" | "outline-lite"
Optional
styles?: CSSProperties
Optional
type?: "submit" | "button" | "reset"
Returns JSX.Element