File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/react/src/components/Card/CardMedia/Controls/ProgressBar Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ const sizeScales = { normal: 0.8 }
9
9
const getMarkerFontSize = size => BASE_FONT_SIZE * ( sizeScales [ size ] || 1 )
10
10
11
11
const TooltipBase = styled ( 'span' ) . attrs (
12
- ( { position, $isDragging, $visible } ) => ( {
12
+ ( { $ position, $isDragging, $visible } ) => ( {
13
13
style : {
14
- left : `${ position } px` ,
14
+ left : `${ $ position} px` ,
15
15
top : $visible ? '-4px' : '0px' ,
16
16
visibility : $visible ? '$visible' : 'hidden' ,
17
17
opacity : $visible ? 1 : 0 ,
@@ -39,7 +39,7 @@ const Tooltip = forwardRef(
39
39
< >
40
40
< TooltipBase
41
41
$visible = { $isVisible }
42
- position = { $positionX }
42
+ $ position= { $positionX }
43
43
$cardSize = { size }
44
44
ref = { ref }
45
45
$isDragging = { $isDragging }
You can’t perform that action at this time.
0 commit comments