import React from 'react'; import type { FC } from 'react'; import { NativeProps } from '../../utils'; export type ButtonProps = { type?: 'default' | 'primary' | 'success' | 'warning' | 'danger'; size?: 'mini' | 'small' | 'middle' | 'large'; fill?: 'filled' | 'outline' | 'none'; block?: boolean; disabled?: boolean; loading?: 'auto' | boolean; loadingText?: string; loadingIcon?: React.ReactNode; nativeType?: 'submit' | 'reset' | 'button'; shape?: 'default' | 'round' | 'square'; url?: string; target?: boolean; onClick?: (event: React.MouseEvent) => void | Promise; children?: React.ReactNode; } & NativeProps<'--text-color' | '--background-color' | '--border-radius' | '--border-width' | '--border-style' | '--border-color'>; declare const Button: FC; export default Button;