Skip to content

Commit

Permalink
fix: type
Browse files Browse the repository at this point in the history
  • Loading branch information
mournfulCoroner committed Feb 11, 2025
1 parent fe3a281 commit 9bef628
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/FilePreview/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ export type FilePreviewActionProps = {
title: string;
href?: string;
disabled?: boolean;
onClick?: (
event:
| React.MouseEvent<HTMLButtonElement | HTMLAnchorElement | HTMLDivElement | MouseEvent>
| React.KeyboardEvent<HTMLElement>,
) => void;
onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
extraProps?: ButtonButtonProps | ButtonLinkProps;
tooltipExtraProps?: Omit<ActionTooltipProps, 'id' | 'title' | 'children'>;
tooltipExtraProps?: Omit<ActionTooltipProps, 'title' | 'children'>;
};

0 comments on commit 9bef628

Please sign in to comment.