Update packages/react/src/Button/ButtonBase.tsx #15667
Annotations
4 errors
release
Property 'sx' does not exist on type '{ ref?: ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement> | ((instance: HTMLAnchorElement | null) => void) | RefObject<...> | null | undefined; ... 285 more ...; onTransitionEndCapture?: TransitionEventHandler<...> | undefined; }'.
|
release
Type 'RefObject<HTMLButtonElement>' is not assignable to type '((string | ((instance: HTMLButtonElement | null) => void) | RefObject<HTMLButtonElement>) & (string | ((instance: HTMLAnchorElement | null) => void) | RefObject<...>)) | null | undefined'.
|
release
Type 'MouseEventHandler<HTMLButtonElement> | undefined' is not assignable to type '(MouseEventHandler<HTMLButtonElement> & MouseEventHandler<HTMLAnchorElement>) | undefined'.
|
release
Process completed with exit code 2.
|