File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,17 @@ const ToggleThreePositionComponent = (
35
35
position === POSITIONS . CENTER
36
36
? inputValues . centerInputValue
37
37
: position === POSITIONS . RIGHT
38
- ? inputValues . rightInputValue ?? props . onIcon ?. altText
39
- : inputValues . leftInputValue ?? props . offIcon ?. altText ;
38
+ ? inputValues . rightInputValue ?? props . onIcon ?. altText
39
+ : inputValues . leftInputValue ?? props . offIcon ?. altText ;
40
40
41
41
const buildTextOrIcon = ( position : POSITIONS ) => {
42
42
return (
43
43
< >
44
44
{ position === POSITIONS . CENTER
45
45
? inputValues . centerInputValue
46
46
: position === POSITIONS . RIGHT
47
- ? props . onText ?. content
48
- : props . offText ?. content }
47
+ ? props . onText ?. content
48
+ : props . offText ?. content }
49
49
</ >
50
50
) ;
51
51
} ;
Original file line number Diff line number Diff line change @@ -148,9 +148,9 @@ export const useTooltip = <V>({
148
148
top : arrowY !== null ? `${ arrowY } px` : '' ,
149
149
right : '' ,
150
150
bottom : '' ,
151
- [ staticSide as string ] : `calc(${
152
- styles . tooltipExternalContainer ?. [ DeviceBreakpointsType . DESKTOP ] ?. padding ?? 0
153
- } - ${ styles . arrowContainer ?. arrow_position ?? '0px' } / 2)`,
151
+ [ staticSide as string ] : `calc(${ styles . tooltipExternalContainer ?. [ DeviceBreakpointsType . DESKTOP ] ?. padding ?? 0 } - ${
152
+ styles . arrowContainer ?. arrow_position ?? '0px'
153
+ } / 2)`,
154
154
} ;
155
155
156
156
if ( arrowElement && ( arrowElement as HTMLElement ) . style ) {
You can’t perform that action at this time.
0 commit comments