File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
packages/next/src/next-devtools/dev-overlay Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
import type { OverlayState } from '../../shared'
2
2
3
- import { Eclipse } from '../../icons/eclipse'
3
+ import { EclipseIcon } from '../../icons/eclipse'
4
4
import { getStaleness } from '../../../shared/version-staleness'
5
5
import { css } from '../../utils/css'
6
6
@@ -23,15 +23,15 @@ export function DevToolsPanelVersionInfo({
23
23
href = "https://nextjs.org/docs/messages/version-staleness"
24
24
title = { title }
25
25
>
26
- < Eclipse data-nextjs-version-staleness-indicator = { indicatorClass } />
26
+ < EclipseIcon data-nextjs-version-staleness-indicator = { indicatorClass } />
27
27
< span > { text } </ span >
28
28
</ a >
29
29
)
30
30
}
31
31
32
32
return (
33
33
< div data-nextjs-devtools-panel-footer-tab title = { title } >
34
- < Eclipse data-nextjs-version-staleness-indicator = { indicatorClass } />
34
+ < EclipseIcon data-nextjs-version-staleness-indicator = { indicatorClass } />
35
35
< span > { text } </ span >
36
36
</ div >
37
37
)
Original file line number Diff line number Diff line change 1
1
import type { VersionInfo } from '../../../../server/dev/parse-version-info'
2
2
import { getStaleness } from '../../../shared/version-staleness'
3
3
import { cx } from '../../utils/cx'
4
- import { Eclipse } from '../../icons/eclipse'
4
+ import { EclipseIcon } from '../../icons/eclipse'
5
5
6
6
export function VersionStalenessInfo ( {
7
7
versionInfo,
@@ -24,7 +24,7 @@ export function VersionStalenessInfo({
24
24
rel = "noopener noreferrer"
25
25
href = "https://nextjs.org/docs/messages/version-staleness"
26
26
>
27
- < Eclipse
27
+ < EclipseIcon
28
28
className = { cx ( 'version-staleness-indicator' , indicatorClass ) }
29
29
/>
30
30
< span data-nextjs-version-checker title = { title } >
@@ -39,7 +39,9 @@ export function VersionStalenessInfo({
39
39
40
40
return (
41
41
< span className = "nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click" >
42
- < Eclipse className = { cx ( 'version-staleness-indicator' , indicatorClass ) } />
42
+ < EclipseIcon
43
+ className = { cx ( 'version-staleness-indicator' , indicatorClass ) }
44
+ />
43
45
< span data-nextjs-version-checker title = { title } >
44
46
{ text }
45
47
</ span >
Original file line number Diff line number Diff line change 1
- export function Eclipse ( props : React . SVGProps < SVGSVGElement > ) {
1
+ export function EclipseIcon ( props : React . SVGProps < SVGSVGElement > ) {
2
2
return (
3
3
< svg
4
4
width = "14"
You can’t perform that action at this time.
0 commit comments