@open-condo/ui
Version:
A set of React UI components for developing applications inside the condo ecosystem
16 lines • 670 B
TypeScript
import { ButtonProps as DefaultButtonProps } from 'antd';
import React from 'react';
export declare const BUTTON_CLASS_PREFIX = "condo-btn";
type CondoButtonProps = {
type: 'primary' | 'secondary' | 'accent';
children?: string;
stateless?: boolean;
focus?: boolean;
minimal?: boolean;
compact?: boolean;
size?: 'medium' | 'large';
};
export type ButtonProps = Omit<DefaultButtonProps, 'shape' | 'size' | 'style' | 'ghost' | 'type' | 'prefix' | 'prefixCls'> & CondoButtonProps;
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
export { Button, };
//# sourceMappingURL=button.d.ts.map