Revert "Feat/parent child retrieval" (#12095)
This commit is contained in:
parent
9231fdbf4c
commit
db2aa83a7c
216 changed files with 3116 additions and 9066 deletions
|
|
@ -14,7 +14,6 @@ export type TooltipProps = {
|
|||
popupContent?: React.ReactNode
|
||||
children?: React.ReactNode
|
||||
popupClassName?: string
|
||||
noDecoration?: boolean
|
||||
offset?: OffsetOptions
|
||||
needsDelay?: boolean
|
||||
asChild?: boolean
|
||||
|
|
@ -28,7 +27,6 @@ const Tooltip: FC<TooltipProps> = ({
|
|||
popupContent,
|
||||
children,
|
||||
popupClassName,
|
||||
noDecoration,
|
||||
offset,
|
||||
asChild = true,
|
||||
needsDelay = false,
|
||||
|
|
@ -98,7 +96,7 @@ const Tooltip: FC<TooltipProps> = ({
|
|||
>
|
||||
{popupContent && (<div
|
||||
className={cn(
|
||||
!noDecoration && 'relative px-3 py-2 system-xs-regular text-text-tertiary bg-components-panel-bg rounded-md shadow-lg break-words',
|
||||
'relative px-3 py-2 system-xs-regular text-text-tertiary bg-components-panel-bg rounded-md shadow-lg break-words',
|
||||
popupClassName,
|
||||
)}
|
||||
onMouseEnter={() => triggerMethod === 'hover' && setHoverPopup()}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue