@withjoy/joykit
Version:
UI Component Library for Joy web
17 lines (16 loc) • 624 B
TypeScript
import React from 'react';
import { AbstractButton, AbstractButtonProps, Intent } from '../../common/AbstractButton';
interface ButtonProps extends AbstractButtonProps, React.ButtonHTMLAttributes<HTMLButtonElement> {
borderRadius?: 'none' | 'default';
}
export declare type InternalButtonProps = ButtonProps;
declare class Button extends AbstractButton<InternalButtonProps> {
static displayName: string;
static defaultProps: {
fill: boolean;
intent: Intent;
borderRadius: "default" | "none" | undefined;
};
render(): JSX.Element;
}
export { ButtonProps, Button };