Skip to content

Commit

Permalink
Merge pull request #249 from element-hq/midhun/fix-prop-type-2
Browse files Browse the repository at this point in the history
Use better type for children in TooltipProvider
  • Loading branch information
MidhunSureshR authored Sep 24, 2024
2 parents 7662d57 + 3be7577 commit 17dca03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Tooltip/TooltipProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { FC } from "react";
export const hoverDelay = { open: 300, close: 0 };

interface Props {
children: JSX.Element;
children: React.ReactNode;
}

/**
Expand Down

0 comments on commit 17dca03

Please sign in to comment.