Skip to content

Commit c671eb7

Browse files
fix(Tooltip): update prop type name
1 parent 860252a commit c671eb7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Tooltip/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ import {
1111

1212
import { isMobile } from "@/lib/utils/isMobile"
1313

14-
export interface IProps extends PopoverProps {
14+
export interface TooltipProps extends PopoverProps {
1515
content: ReactNode
1616
children?: ReactNode
1717
onBeforeOpen?: () => void
1818
}
1919

20-
const Tooltip: React.FC<IProps> = ({
20+
const Tooltip = ({
2121
content,
2222
children,
2323
onBeforeOpen,
2424
...rest
25-
}) => {
25+
}: TooltipProps) => {
2626
const { isOpen, onOpen, onClose } = useDisclosure()
2727

2828
// Close the popover when the user scrolls.

0 commit comments

Comments
 (0)