@docusaurus/theme-classic 2.4.0 → 2.4.1
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.
- package/lib/theme/CodeBlock/CopyButton/index.js +4 -6
- package/lib/theme/CodeBlock/WordWrapButton/index.js +2 -9
- package/lib/theme/DocPage/Layout/Sidebar/index.js +6 -1
- package/lib/theme/DocPaginator/index.js +1 -1
- package/lib/theme/Icon/Copy/index.d.ts +9 -0
- package/lib/theme/Icon/Copy/index.js +17 -0
- package/lib/theme/Icon/Success/index.d.ts +9 -0
- package/lib/theme/Icon/Success/index.js +17 -0
- package/lib/theme/Icon/WordWrap/index.d.ts +9 -0
- package/lib/theme/Icon/WordWrap/index.js +17 -0
- package/package.json +14 -14
- package/src/theme/CodeBlock/CopyButton/index.tsx +4 -6
- package/src/theme/CodeBlock/WordWrapButton/index.tsx +2 -9
- package/src/theme/DocPage/Layout/Sidebar/index.tsx +6 -1
- package/src/theme/DocPaginator/index.tsx +1 -1
- package/src/theme/Icon/Copy/index.tsx +20 -0
- package/src/theme/Icon/Success/index.tsx +20 -0
- package/src/theme/Icon/WordWrap/index.tsx +20 -0
- package/src/theme-classic.d.ts +24 -0
|
@@ -9,6 +9,8 @@ import clsx from 'clsx';
|
|
|
9
9
|
// @ts-expect-error: TODO, we need to make theme-classic have type: module
|
|
10
10
|
import copy from 'copy-text-to-clipboard';
|
|
11
11
|
import {translate} from '@docusaurus/Translate';
|
|
12
|
+
import IconCopy from '@theme/Icon/Copy';
|
|
13
|
+
import IconSuccess from '@theme/Icon/Success';
|
|
12
14
|
import styles from './styles.module.css';
|
|
13
15
|
export default function CopyButton({code, className}) {
|
|
14
16
|
const [isCopied, setIsCopied] = useState(false);
|
|
@@ -50,12 +52,8 @@ export default function CopyButton({code, className}) {
|
|
|
50
52
|
)}
|
|
51
53
|
onClick={handleCopyCode}>
|
|
52
54
|
<span className={styles.copyButtonIcons} aria-hidden="true">
|
|
53
|
-
<
|
|
54
|
-
|
|
55
|
-
</svg>
|
|
56
|
-
<svg className={styles.copyButtonSuccessIcon} viewBox="0 0 24 24">
|
|
57
|
-
<path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" />
|
|
58
|
-
</svg>
|
|
55
|
+
<IconCopy className={styles.copyButtonIcon} />
|
|
56
|
+
<IconSuccess className={styles.copyButtonSuccessIcon} />
|
|
59
57
|
</span>
|
|
60
58
|
</button>
|
|
61
59
|
);
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
9
|
import {translate} from '@docusaurus/Translate';
|
|
10
|
+
import IconWordWrap from '@theme/Icon/WordWrap';
|
|
10
11
|
import styles from './styles.module.css';
|
|
11
12
|
export default function WordWrapButton({className, onClick, isEnabled}) {
|
|
12
13
|
const title = translate({
|
|
@@ -26,15 +27,7 @@ export default function WordWrapButton({className, onClick, isEnabled}) {
|
|
|
26
27
|
)}
|
|
27
28
|
aria-label={title}
|
|
28
29
|
title={title}>
|
|
29
|
-
<
|
|
30
|
-
className={styles.wordWrapButtonIcon}
|
|
31
|
-
viewBox="0 0 24 24"
|
|
32
|
-
aria-hidden="true">
|
|
33
|
-
<path
|
|
34
|
-
fill="currentColor"
|
|
35
|
-
d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"
|
|
36
|
-
/>
|
|
37
|
-
</svg>
|
|
30
|
+
<IconWordWrap className={styles.wordWrapButtonIcon} aria-hidden="true" />
|
|
38
31
|
</button>
|
|
39
32
|
);
|
|
40
33
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import React, {useState, useCallback} from 'react';
|
|
8
8
|
import clsx from 'clsx';
|
|
9
|
-
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
9
|
+
import {prefersReducedMotion, ThemeClassNames} from '@docusaurus/theme-common';
|
|
10
10
|
import {useDocsSidebar} from '@docusaurus/theme-common/internal';
|
|
11
11
|
import {useLocation} from '@docusaurus/router';
|
|
12
12
|
import DocSidebar from '@theme/DocSidebar';
|
|
@@ -34,6 +34,11 @@ export default function DocPageLayoutSidebar({
|
|
|
34
34
|
if (hiddenSidebar) {
|
|
35
35
|
setHiddenSidebar(false);
|
|
36
36
|
}
|
|
37
|
+
// onTransitionEnd won't fire when sidebar animation is disabled
|
|
38
|
+
// fixes https://github.com/facebook/docusaurus/issues/8918
|
|
39
|
+
if (!hiddenSidebar && prefersReducedMotion()) {
|
|
40
|
+
setHiddenSidebar(true);
|
|
41
|
+
}
|
|
37
42
|
setHiddenSidebarContainer((value) => !value);
|
|
38
43
|
}, [setHiddenSidebarContainer, hiddenSidebar]);
|
|
39
44
|
return (
|
|
@@ -14,7 +14,7 @@ export default function DocPaginator(props) {
|
|
|
14
14
|
className="pagination-nav docusaurus-mt-lg"
|
|
15
15
|
aria-label={translate({
|
|
16
16
|
id: 'theme.docs.paginator.navAriaLabel',
|
|
17
|
-
message: 'Docs pages
|
|
17
|
+
message: 'Docs pages',
|
|
18
18
|
description: 'The ARIA label for the docs pagination',
|
|
19
19
|
})}>
|
|
20
20
|
{previous && (
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
import type { Props } from '@theme/Icon/Copy';
|
|
9
|
+
export default function IconCopy(props: Props): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export default function IconCopy(props) {
|
|
9
|
+
return (
|
|
10
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
11
|
+
<path
|
|
12
|
+
fill="currentColor"
|
|
13
|
+
d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
import type { Props } from '@theme/Icon/Success';
|
|
9
|
+
export default function IconSuccess(props: Props): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export default function IconSuccess(props) {
|
|
9
|
+
return (
|
|
10
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
11
|
+
<path
|
|
12
|
+
fill="currentColor"
|
|
13
|
+
d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
);
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
/// <reference types="react" />
|
|
8
|
+
import type { Props } from '@theme/Icon/WordWrap';
|
|
9
|
+
export default function IconWordWrap(props: Props): JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import React from 'react';
|
|
8
|
+
export default function IconWordWrap(props) {
|
|
9
|
+
return (
|
|
10
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
11
|
+
<path
|
|
12
|
+
fill="currentColor"
|
|
13
|
+
d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"
|
|
14
|
+
/>
|
|
15
|
+
</svg>
|
|
16
|
+
);
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-classic",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "Classic theme for Docusaurus",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-classic.d.ts",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"copy:watch": "node ../../admin/scripts/copyUntypedFiles.js --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@docusaurus/core": "2.4.
|
|
24
|
-
"@docusaurus/mdx-loader": "2.4.
|
|
25
|
-
"@docusaurus/module-type-aliases": "2.4.
|
|
26
|
-
"@docusaurus/plugin-content-blog": "2.4.
|
|
27
|
-
"@docusaurus/plugin-content-docs": "2.4.
|
|
28
|
-
"@docusaurus/plugin-content-pages": "2.4.
|
|
29
|
-
"@docusaurus/theme-common": "2.4.
|
|
30
|
-
"@docusaurus/theme-translations": "2.4.
|
|
31
|
-
"@docusaurus/types": "2.4.
|
|
32
|
-
"@docusaurus/utils": "2.4.
|
|
33
|
-
"@docusaurus/utils-common": "2.4.
|
|
34
|
-
"@docusaurus/utils-validation": "2.4.
|
|
23
|
+
"@docusaurus/core": "2.4.1",
|
|
24
|
+
"@docusaurus/mdx-loader": "2.4.1",
|
|
25
|
+
"@docusaurus/module-type-aliases": "2.4.1",
|
|
26
|
+
"@docusaurus/plugin-content-blog": "2.4.1",
|
|
27
|
+
"@docusaurus/plugin-content-docs": "2.4.1",
|
|
28
|
+
"@docusaurus/plugin-content-pages": "2.4.1",
|
|
29
|
+
"@docusaurus/theme-common": "2.4.1",
|
|
30
|
+
"@docusaurus/theme-translations": "2.4.1",
|
|
31
|
+
"@docusaurus/types": "2.4.1",
|
|
32
|
+
"@docusaurus/utils": "2.4.1",
|
|
33
|
+
"@docusaurus/utils-common": "2.4.1",
|
|
34
|
+
"@docusaurus/utils-validation": "2.4.1",
|
|
35
35
|
"@mdx-js/react": "^1.6.22",
|
|
36
36
|
"clsx": "^1.2.1",
|
|
37
37
|
"copy-text-to-clipboard": "^3.0.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": ">=16.14"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "60e657d8ae5a4a9ed1c2d777f9defd882cc12681"
|
|
66
66
|
}
|
|
@@ -11,6 +11,8 @@ import clsx from 'clsx';
|
|
|
11
11
|
import copy from 'copy-text-to-clipboard';
|
|
12
12
|
import {translate} from '@docusaurus/Translate';
|
|
13
13
|
import type {Props} from '@theme/CodeBlock/CopyButton';
|
|
14
|
+
import IconCopy from '@theme/Icon/Copy';
|
|
15
|
+
import IconSuccess from '@theme/Icon/Success';
|
|
14
16
|
|
|
15
17
|
import styles from './styles.module.css';
|
|
16
18
|
|
|
@@ -56,12 +58,8 @@ export default function CopyButton({code, className}: Props): JSX.Element {
|
|
|
56
58
|
)}
|
|
57
59
|
onClick={handleCopyCode}>
|
|
58
60
|
<span className={styles.copyButtonIcons} aria-hidden="true">
|
|
59
|
-
<
|
|
60
|
-
|
|
61
|
-
</svg>
|
|
62
|
-
<svg className={styles.copyButtonSuccessIcon} viewBox="0 0 24 24">
|
|
63
|
-
<path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z" />
|
|
64
|
-
</svg>
|
|
61
|
+
<IconCopy className={styles.copyButtonIcon} />
|
|
62
|
+
<IconSuccess className={styles.copyButtonSuccessIcon} />
|
|
65
63
|
</span>
|
|
66
64
|
</button>
|
|
67
65
|
);
|
|
@@ -9,6 +9,7 @@ import React from 'react';
|
|
|
9
9
|
import clsx from 'clsx';
|
|
10
10
|
import {translate} from '@docusaurus/Translate';
|
|
11
11
|
import type {Props} from '@theme/CodeBlock/WordWrapButton';
|
|
12
|
+
import IconWordWrap from '@theme/Icon/WordWrap';
|
|
12
13
|
|
|
13
14
|
import styles from './styles.module.css';
|
|
14
15
|
|
|
@@ -35,15 +36,7 @@ export default function WordWrapButton({
|
|
|
35
36
|
)}
|
|
36
37
|
aria-label={title}
|
|
37
38
|
title={title}>
|
|
38
|
-
<
|
|
39
|
-
className={styles.wordWrapButtonIcon}
|
|
40
|
-
viewBox="0 0 24 24"
|
|
41
|
-
aria-hidden="true">
|
|
42
|
-
<path
|
|
43
|
-
fill="currentColor"
|
|
44
|
-
d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"
|
|
45
|
-
/>
|
|
46
|
-
</svg>
|
|
39
|
+
<IconWordWrap className={styles.wordWrapButtonIcon} aria-hidden="true" />
|
|
47
40
|
</button>
|
|
48
41
|
);
|
|
49
42
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
import React, {type ReactNode, useState, useCallback} from 'react';
|
|
9
9
|
import clsx from 'clsx';
|
|
10
|
-
import {ThemeClassNames} from '@docusaurus/theme-common';
|
|
10
|
+
import {prefersReducedMotion, ThemeClassNames} from '@docusaurus/theme-common';
|
|
11
11
|
import {useDocsSidebar} from '@docusaurus/theme-common/internal';
|
|
12
12
|
import {useLocation} from '@docusaurus/router';
|
|
13
13
|
import DocSidebar from '@theme/DocSidebar';
|
|
@@ -40,6 +40,11 @@ export default function DocPageLayoutSidebar({
|
|
|
40
40
|
if (hiddenSidebar) {
|
|
41
41
|
setHiddenSidebar(false);
|
|
42
42
|
}
|
|
43
|
+
// onTransitionEnd won't fire when sidebar animation is disabled
|
|
44
|
+
// fixes https://github.com/facebook/docusaurus/issues/8918
|
|
45
|
+
if (!hiddenSidebar && prefersReducedMotion()) {
|
|
46
|
+
setHiddenSidebar(true);
|
|
47
|
+
}
|
|
43
48
|
setHiddenSidebarContainer((value) => !value);
|
|
44
49
|
}, [setHiddenSidebarContainer, hiddenSidebar]);
|
|
45
50
|
|
|
@@ -17,7 +17,7 @@ export default function DocPaginator(props: Props): JSX.Element {
|
|
|
17
17
|
className="pagination-nav docusaurus-mt-lg"
|
|
18
18
|
aria-label={translate({
|
|
19
19
|
id: 'theme.docs.paginator.navAriaLabel',
|
|
20
|
-
message: 'Docs pages
|
|
20
|
+
message: 'Docs pages',
|
|
21
21
|
description: 'The ARIA label for the docs pagination',
|
|
22
22
|
})}>
|
|
23
23
|
{previous && (
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import type {Props} from '@theme/Icon/Copy';
|
|
10
|
+
|
|
11
|
+
export default function IconCopy(props: Props): JSX.Element {
|
|
12
|
+
return (
|
|
13
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import type {Props} from '@theme/Icon/Success';
|
|
10
|
+
|
|
11
|
+
export default function IconSuccess(props: Props): JSX.Element {
|
|
12
|
+
return (
|
|
13
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from 'react';
|
|
9
|
+
import type {Props} from '@theme/Icon/WordWrap';
|
|
10
|
+
|
|
11
|
+
export default function IconWordWrap(props: Props): JSX.Element {
|
|
12
|
+
return (
|
|
13
|
+
<svg viewBox="0 0 24 24" {...props}>
|
|
14
|
+
<path
|
|
15
|
+
fill="currentColor"
|
|
16
|
+
d="M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"
|
|
17
|
+
/>
|
|
18
|
+
</svg>
|
|
19
|
+
);
|
|
20
|
+
}
|
package/src/theme-classic.d.ts
CHANGED
|
@@ -1322,6 +1322,14 @@ declare module '@theme/Icon/Close' {
|
|
|
1322
1322
|
export default function IconClose(props: Props): JSX.Element;
|
|
1323
1323
|
}
|
|
1324
1324
|
|
|
1325
|
+
declare module '@theme/Icon/Copy' {
|
|
1326
|
+
import type {ComponentProps} from 'react';
|
|
1327
|
+
|
|
1328
|
+
export interface Props extends ComponentProps<'svg'> {}
|
|
1329
|
+
|
|
1330
|
+
export default function IconCopy(props: Props): JSX.Element;
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1325
1333
|
declare module '@theme/Icon/Language' {
|
|
1326
1334
|
import type {ComponentProps} from 'react';
|
|
1327
1335
|
|
|
@@ -1330,6 +1338,14 @@ declare module '@theme/Icon/Language' {
|
|
|
1330
1338
|
export default function IconLanguage(props: Props): JSX.Element;
|
|
1331
1339
|
}
|
|
1332
1340
|
|
|
1341
|
+
declare module '@theme/Icon/Success' {
|
|
1342
|
+
import type {ComponentProps} from 'react';
|
|
1343
|
+
|
|
1344
|
+
export interface Props extends ComponentProps<'svg'> {}
|
|
1345
|
+
|
|
1346
|
+
export default function IconSuccess(props: Props): JSX.Element;
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1333
1349
|
declare module '@theme/Icon/ExternalLink' {
|
|
1334
1350
|
import type {ComponentProps} from 'react';
|
|
1335
1351
|
|
|
@@ -1338,6 +1354,14 @@ declare module '@theme/Icon/ExternalLink' {
|
|
|
1338
1354
|
export default function IconExternalLink(props: Props): JSX.Element;
|
|
1339
1355
|
}
|
|
1340
1356
|
|
|
1357
|
+
declare module '@theme/Icon/WordWrap' {
|
|
1358
|
+
import type {ComponentProps} from 'react';
|
|
1359
|
+
|
|
1360
|
+
export interface Props extends ComponentProps<'svg'> {}
|
|
1361
|
+
|
|
1362
|
+
export default function IconWordWrap(props: Props): JSX.Element;
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1341
1365
|
declare module '@theme/TagsListByLetter' {
|
|
1342
1366
|
import type {TagsListItem} from '@docusaurus/utils';
|
|
1343
1367
|
|