import { ReactNode } from 'react' import type { MouseEvent } from 'react' import { BaseProps } from '../../base/props' import { UIFill, UIRound, UISize, UIType } from '../../base/atoms' export interface BaseButton extends BaseProps { color: string shape: UIRound type: UIType size: UISize fill: UIFill block: boolean loading: boolean disabled: boolean icon: ReactNode rightIcon: ReactNode description?: ReactNode id?: string nativeType: 'submit' | 'reset' | 'button' onClick: (e: MouseEvent) => void }