import { ButtonProps } from '@mui/material'; import { AnchorHTMLAttributes, ElementType, ReactNode } from 'react'; export type GraaspButtonProps = { autoFocus?: boolean; /** * button contents, usually a string */ children?: ReactNode; /** * className string */ className?: string; color?: ButtonProps['color']; component?: ElementType; /** * cypress data-cy attribute */ dataCy?: string; disabled?: boolean; endIcon?: ReactNode; fullWidth?: boolean; /** * id string */ id?: string; /** * on click handler */ onClick?: () => void; size?: ButtonProps['size']; startIcon?: ReactNode; type?: ButtonProps['type']; variant?: ButtonProps['variant']; role?: ButtonProps['role']; } & Pick, 'href' | 'target'>; export declare const GraaspButton: ({ autoFocus, children, className, color, dataCy, disabled, endIcon, fullWidth, id, onClick, size, startIcon, type, variant, href, role, ...other }: GraaspButtonProps) => JSX.Element; export default GraaspButton;