mirror of
https://github.com/grafana/grafana.git
synced 2025-02-03 04:01:08 -06:00
Chore: Use react-highlight-words types (#54627)
This commit is contained in:
parent
53c095aae7
commit
6b197f3fa9
@ -149,6 +149,7 @@
|
||||
"@types/react-calendar": "3.5.1",
|
||||
"@types/react-color": "3.0.6",
|
||||
"@types/react-dom": "17.0.14",
|
||||
"@types/react-highlight-words": "0.16.4",
|
||||
"@types/react-router-dom": "5.3.3",
|
||||
"@types/react-table": "7.7.12",
|
||||
"@types/react-test-renderer": "17.0.1",
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { cx, css } from '@emotion/css';
|
||||
import React, { forwardRef, HTMLAttributes, useCallback } from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
|
||||
import { GrafanaTheme2 } from '@grafana/data';
|
||||
|
@ -1,6 +1,5 @@
|
||||
import ansicolor from 'ansicolor';
|
||||
import React, { PureComponent } from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
|
||||
import { findHighlightChunksInText, GrafanaTheme2 } from '@grafana/data';
|
||||
|
@ -1,7 +1,6 @@
|
||||
import { css, cx } from '@emotion/css';
|
||||
import memoizeOne from 'memoize-one';
|
||||
import React, { PureComponent } from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
import tinycolor from 'tinycolor2';
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { css, cx } from '@emotion/css';
|
||||
import React from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
|
||||
import { GrafanaTheme } from '@grafana/data';
|
||||
|
@ -1,5 +1,4 @@
|
||||
import React, { useCallback } from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
|
||||
import { Icon, IconName, Button, LinkButton, Card } from '@grafana/ui';
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { css, cx } from '@emotion/css';
|
||||
import React from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
|
||||
import {
|
||||
|
@ -1,5 +1,4 @@
|
||||
import React, { ReactNode } from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
|
||||
import { selectors } from '@grafana/e2e-selectors';
|
||||
|
@ -1,6 +1,5 @@
|
||||
import { css } from '@emotion/css';
|
||||
import React, { useCallback, useState } from 'react';
|
||||
// @ts-ignore
|
||||
import Highlighter from 'react-highlight-words';
|
||||
|
||||
import { SelectableValue, toOption, GrafanaTheme2 } from '@grafana/data';
|
||||
|
Loading…
Reference in New Issue
Block a user