@ndla/tooltip
Advanced tools
Comparing version 6.0.20 to 7.0.0
@@ -9,3 +9,2 @@ /** | ||
import Tooltip from "./Tooltip/Tooltip"; | ||
export default Tooltip; | ||
export { default as Tooltip } from "./Tooltip/Tooltip"; |
@@ -8,3 +8,2 @@ /** | ||
*/ | ||
import Tooltip from "./Tooltip/Tooltip"; | ||
export default Tooltip; | ||
export { default as Tooltip } from "./Tooltip/Tooltip"; |
@@ -6,12 +6,9 @@ "use strict"; | ||
}); | ||
exports.default = void 0; | ||
Object.defineProperty(exports, "Tooltip", { | ||
enumerable: true, | ||
get: function () { | ||
return _Tooltip.default; | ||
} | ||
}); | ||
var _Tooltip = _interopRequireDefault(require("./Tooltip/Tooltip")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
/** | ||
* Copyright (c) 2018-present, NDLA. | ||
* | ||
* This source code is licensed under the GPLv3 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
* | ||
*/ | ||
var _default = exports.default = _Tooltip.default; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
{ | ||
"name": "@ndla/tooltip", | ||
"version": "6.0.20", | ||
"version": "7.0.0", | ||
"description": "Tooltip component from NDLA", | ||
@@ -42,3 +42,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "3ca4cce5d4827f475a03a1e8fe4e2858c6ea3814" | ||
"gitHead": "ae7b0eeb9ec17066999f7d2186bd31251b88ed4b" | ||
} |
@@ -16,5 +16,5 @@ # Tooltip component | ||
```js | ||
import Tooltip from "@ndla/tooltip"; | ||
import { Tooltip } from "@ndla/tooltip"; | ||
<Tooltip tooltip="Tooltip text">{children}</Tooltip>; | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46987
154