diff options
Diffstat (limited to 'server/sonar-web/design-system/src/components/buttons.tsx')
-rw-r--r-- | server/sonar-web/design-system/src/components/buttons.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/design-system/src/components/buttons.tsx b/server/sonar-web/design-system/src/components/buttons.tsx index 28650a777c0..c6d2ccd3ac8 100644 --- a/server/sonar-web/design-system/src/components/buttons.tsx +++ b/server/sonar-web/design-system/src/components/buttons.tsx @@ -38,7 +38,7 @@ export interface ButtonProps extends AllowedButtonAttributes { disabled?: boolean; icon?: React.ReactNode; innerRef?: React.Ref<HTMLButtonElement>; - onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => void; + onClick?: (event?: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => unknown; preventDefault?: boolean; reloadDocument?: LinkProps['reloadDocument']; |