Skip to content

Commit

Permalink
[@mantine/core] Tooltip: Add missing Tooltip.Group.extend function (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Aug 7, 2024
1 parent 02fb277 commit 29ca594
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { FloatingDelayGroup } from '@floating-ui/react';
import { useProps } from '../../../core';
import { ExtendComponent, Factory, MantineThemeComponent, useProps } from '../../../core';
import { TooltipGroupProvider } from './TooltipGroup.context';

export interface TooltipGroupProps {
Expand Down Expand Up @@ -30,4 +30,9 @@ export function TooltipGroup(props: TooltipGroupProps) {
);
}

export type TooltipGroupFactory = Factory<{
props: TooltipGroupProps;
}>;

TooltipGroup.displayName = '@mantine/core/TooltipGroup';
TooltipGroup.extend = (c: ExtendComponent<TooltipGroupFactory>): MantineThemeComponent => c;

0 comments on commit 29ca594

Please sign in to comment.