Skip to content

Commit 8de7a11

Browse files
Add PropsWithChildren interface to Tooltip component definition for React 18 (#1623)
1 parent 02f0929 commit 8de7a11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2714,7 +2714,7 @@ export interface TooltipProps {
27142714
statelessProps?: PolymorphicBoxProps<'div', TooltipStatelessProps>
27152715
}
27162716

2717-
export declare const Tooltip: React.FC<TooltipProps>
2717+
export declare const Tooltip: React.FC<React.PropsWithChildren<TooltipProps>>
27182718

27192719
export interface OrderedListOwnProps {
27202720
/**

0 commit comments

Comments
 (0)