We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
any
1 parent 0c5046a commit b9fa34aCopy full SHA for b9fa34a
src/utils/handle-style.ts
@@ -3,7 +3,6 @@ const REACT_TOOLTIP_CORE_STYLES_ID = 'react-tooltip-core-styles'
3
// This is the ID for the visual styles of ReactTooltip
4
const REACT_TOOLTIP_BASE_STYLES_ID = 'react-tooltip-base-styles'
5
6
-// eslint-disable-next-line @typescript-eslint/no-explicit-any, default-param-last
7
function injectStyle({
8
css,
9
id = REACT_TOOLTIP_BASE_STYLES_ID,
@@ -13,6 +12,7 @@ function injectStyle({
13
12
css: string
14
id?: string
15
type?: string
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16
ref?: any
17
}) {
18
if (type === 'core' && process.env.REACT_TOOLTIP_DISABLE_CORE_STYLES) {
0 commit comments