Skip to content

Commit ca4d959

Browse files
gabrieljablonskiGabriel Jablonski
authored andcommitted
feat: add default tooltip/arrow class names
1 parent 0c24320 commit ca4d959

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Tooltip/Tooltip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ const Tooltip = ({
294294
<WrapperElement
295295
id={id}
296296
role="tooltip"
297-
className={classNames(styles['tooltip'], styles[variant], className, {
297+
className={classNames('react-tooltip', styles['tooltip'], styles[variant], className, {
298298
[styles['show']]: hasContentOrChildren && !calculatingPosition && (isOpen || show),
299299
[styles['fixed']]: positionStrategy === 'fixed',
300300
})}
@@ -303,7 +303,7 @@ const Tooltip = ({
303303
>
304304
{children || (isHtmlContent ? <TooltipContent content={content as string} /> : content)}
305305
<div
306-
className={classNames(styles['arrow'], classNameArrow, {
306+
className={classNames('react-tooltip-arrow', styles['arrow'], classNameArrow, {
307307
[styles['no-arrow']]: noArrow,
308308
})}
309309
style={inlineArrowStyles}

0 commit comments

Comments
 (0)