feat(SW-350): Fix PR comments
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
import React from "react"
|
||||
|
||||
import { ChevronRightIcon } from "@/components/Icons"
|
||||
import Image from "@/components/Image"
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { PropsWithChildren } from "react"
|
||||
|
||||
import Caption from "@/components/TempDesignSystem/Text/Caption"
|
||||
|
||||
import { tooltipVariants } from "./variants"
|
||||
@@ -12,7 +14,7 @@ export function Tooltip<P extends TooltipPosition>({
|
||||
position,
|
||||
arrow,
|
||||
children,
|
||||
}: TooltipProps<P>) {
|
||||
}: PropsWithChildren<TooltipProps<P>>) {
|
||||
const className = tooltipVariants({ position, arrow })
|
||||
return (
|
||||
<div className={styles.tooltipContainer} role="tooltip" aria-label={text}>
|
||||
|
||||
Reference in New Issue
Block a user