Skip to content

Commit 583e1fd

Browse files
authored
fix(AvatarGroup): be able to use some tooltip props (mondaycom#2370)
1 parent 997feed commit 583e1fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/components/AvatarGroup/AvatarGroupCounter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface AvatarGroupCounterProps extends VibeComponentProps {
2424
* AvatarGroupCounterVisualProps: props for counter
2525
*/
2626
counterProps?: AvatarGroupCounterVisualProps;
27-
counterTooltipCustomProps?: TooltipProps;
27+
counterTooltipCustomProps?: Partial<TooltipProps>;
2828
counterTooltipIsVirtualizedList?: boolean;
2929
size?: AvatarSize;
3030
type?: AvatarType;

packages/core/src/components/AvatarGroup/AvatarGroupCounterTooltipContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export interface AvatarGroupCounterTooltipContainerProps extends VibeComponentPr
1818
* Array of Avatar elements
1919
*/
2020
avatars?: ReactElement<AvatarProps>[];
21-
counterTooltipCustomProps?: TooltipProps;
21+
counterTooltipCustomProps?: Partial<TooltipProps>;
2222
counterTooltipIsVirtualizedList?: boolean;
2323
focusPrevPlaceholderRef?: RefObject<HTMLDivElement>;
2424
focusNextPlaceholderRef?: RefObject<HTMLDivElement>;

0 commit comments

Comments
 (0)