Skip to content

Commit 1839acf

Browse files
committed
chore: Fix TS define
1 parent 35baaed commit 1839acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface TooltipProps extends Pick<TriggerProps, 'onPopupAlign' | 'built
2424
align?: AlignType;
2525
arrowContent?: React.ReactNode;
2626
id?: string;
27-
children?: React.ReactNode;
27+
children?: React.ReactElement;
2828
popupVisible?: boolean;
2929
}
3030

0 commit comments

Comments
 (0)