diff --git a/src/shared/components/Box/Box.tsx b/src/shared/components/Box/Box.tsx index 815b0233a..dd7b7e546 100644 --- a/src/shared/components/Box/Box.tsx +++ b/src/shared/components/Box/Box.tsx @@ -7,6 +7,7 @@ type BoxProps = PropsWithChildren< StyleProps & AsProps & { onBlur?: (e: FocusEvent) => void; + onClick?: () => void; onMouseEnter?: () => void; onMouseLeave?: () => void; tabIndex?: number; diff --git a/src/shared/components/Tooltip/Tooltip.tsx b/src/shared/components/Tooltip/Tooltip.tsx index aac6bb3f2..fd5aa0919 100644 --- a/src/shared/components/Tooltip/Tooltip.tsx +++ b/src/shared/components/Tooltip/Tooltip.tsx @@ -47,7 +47,7 @@ export const Tooltip = ({ message, direction = 'top', icon }: PropsWithChildren< setOpened(true)} + onClick={() => setOpened(true)} onMouseLeave={() => setOpened(false)} > {icon}