colibri-ui 0.8.55 → 0.8.56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -12,14 +12,12 @@ var OptionLabel = function OptionLabel(_ref) {
|
|
|
12
12
|
var time = _ref.time,
|
|
13
13
|
onClick = _ref.onClick,
|
|
14
14
|
onMouseEnter = _ref.onMouseEnter;
|
|
15
|
-
var ref = React.useRef(null);
|
|
16
15
|
return (
|
|
17
16
|
/*#__PURE__*/
|
|
18
17
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
19
18
|
React__default.default.createElement("span", {
|
|
20
19
|
onClick: onClick,
|
|
21
|
-
onMouseEnter: onMouseEnter
|
|
22
|
-
ref: ref
|
|
20
|
+
onMouseEnter: onMouseEnter
|
|
23
21
|
}, time)
|
|
24
22
|
);
|
|
25
23
|
};
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import React__default
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
|
|
3
3
|
var OptionLabel = function OptionLabel(_ref) {
|
|
4
4
|
var time = _ref.time,
|
|
5
5
|
onClick = _ref.onClick,
|
|
6
6
|
onMouseEnter = _ref.onMouseEnter;
|
|
7
|
-
var ref = useRef(null);
|
|
8
7
|
return (
|
|
9
8
|
/*#__PURE__*/
|
|
10
9
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
11
10
|
React__default.createElement("span", {
|
|
12
11
|
onClick: onClick,
|
|
13
|
-
onMouseEnter: onMouseEnter
|
|
14
|
-
ref: ref
|
|
12
|
+
onMouseEnter: onMouseEnter
|
|
15
13
|
}, time)
|
|
16
14
|
);
|
|
17
15
|
};
|