@docusaurus/theme-classic 3.2.1 → 3.3.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/getSwizzleConfig.js +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/options.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Danger.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Info.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Note.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Tip.d.ts +1 -0
- package/lib/theme/Admonition/Icon/Warning.d.ts +1 -0
- package/lib/theme/Admonition/Layout/index.d.ts +1 -0
- package/lib/theme/Admonition/Layout/index.js +1 -1
- package/lib/theme/Admonition/Type/Caution.d.ts +1 -0
- package/lib/theme/Admonition/Type/Danger.d.ts +1 -0
- package/lib/theme/Admonition/Type/Info.d.ts +1 -0
- package/lib/theme/Admonition/Type/Note.d.ts +1 -0
- package/lib/theme/Admonition/Type/Tip.d.ts +1 -0
- package/lib/theme/Admonition/Type/Warning.d.ts +1 -0
- package/lib/theme/Admonition/index.d.ts +1 -0
- package/lib/theme/AnnouncementBar/CloseButton/index.d.ts +1 -0
- package/lib/theme/AnnouncementBar/Content/index.d.ts +1 -0
- package/lib/theme/BlogLayout/index.d.ts +1 -0
- package/lib/theme/BlogListPaginator/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Container/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Content/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Footer/ReadMoreLink/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Author/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Authors/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Info/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/Header/Title/index.d.ts +1 -0
- package/lib/theme/BlogPostItem/index.d.ts +1 -0
- package/lib/theme/BlogPostItems/index.d.ts +1 -0
- package/lib/theme/BlogPostPaginator/index.d.ts +1 -0
- package/lib/theme/BlogSidebar/Desktop/index.d.ts +1 -0
- package/lib/theme/BlogSidebar/Mobile/index.d.ts +1 -0
- package/lib/theme/BlogSidebar/index.d.ts +1 -0
- package/lib/theme/CodeBlock/Content/Element.d.ts +1 -0
- package/lib/theme/CodeBlock/Content/String.d.ts +1 -0
- package/lib/theme/CodeBlock/CopyButton/index.d.ts +1 -0
- package/lib/theme/CodeBlock/Line/index.d.ts +1 -0
- package/lib/theme/CodeBlock/Line/index.js +1 -1
- package/lib/theme/CodeBlock/WordWrapButton/index.d.ts +1 -0
- package/lib/theme/CodeBlock/index.d.ts +1 -0
- package/lib/theme/CodeInline/index.d.ts +1 -0
- package/lib/theme/ColorModeToggle/index.d.ts +1 -0
- package/lib/theme/Details/index.d.ts +1 -0
- package/lib/theme/DocCard/index.d.ts +1 -0
- package/lib/theme/DocCardList/index.d.ts +1 -0
- package/lib/theme/DocItem/Content/index.d.ts +1 -0
- package/lib/theme/DocItem/Layout/index.d.ts +1 -0
- package/lib/theme/DocPaginator/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/Main/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/Sidebar/ExpandButton/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/Sidebar/index.d.ts +1 -0
- package/lib/theme/DocRoot/Layout/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Desktop/CollapseButton/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Desktop/Content/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Desktop/index.d.ts +1 -0
- package/lib/theme/DocSidebar/Mobile/index.d.ts +1 -0
- package/lib/theme/DocSidebar/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/Category/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/Html/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/Link/index.d.ts +1 -0
- package/lib/theme/DocSidebarItem/index.d.ts +1 -0
- package/lib/theme/DocSidebarItems/index.d.ts +1 -0
- package/lib/theme/DocVersionBadge/index.d.ts +1 -0
- package/lib/theme/DocVersionBanner/index.d.ts +1 -0
- package/lib/theme/EditMetaRow/index.d.ts +1 -0
- package/lib/theme/EditThisPage/index.d.ts +1 -0
- package/lib/theme/Footer/Copyright/index.d.ts +1 -0
- package/lib/theme/Footer/Layout/index.d.ts +1 -0
- package/lib/theme/Footer/LinkItem/index.d.ts +1 -0
- package/lib/theme/Footer/Links/MultiColumn/index.d.ts +1 -0
- package/lib/theme/Footer/Links/Simple/index.d.ts +1 -0
- package/lib/theme/Footer/Links/index.d.ts +1 -0
- package/lib/theme/Footer/Logo/index.d.ts +1 -0
- package/lib/theme/Heading/index.d.ts +1 -0
- package/lib/theme/Icon/Arrow/index.d.ts +1 -0
- package/lib/theme/Icon/Close/index.d.ts +1 -0
- package/lib/theme/Icon/Copy/index.d.ts +1 -0
- package/lib/theme/Icon/DarkMode/index.d.ts +1 -0
- package/lib/theme/Icon/Edit/index.d.ts +1 -0
- package/lib/theme/Icon/ExternalLink/index.d.ts +1 -0
- package/lib/theme/Icon/Home/index.d.ts +1 -0
- package/lib/theme/Icon/Language/index.d.ts +1 -0
- package/lib/theme/Icon/LightMode/index.d.ts +1 -0
- package/lib/theme/Icon/Menu/index.d.ts +1 -0
- package/lib/theme/Icon/Success/index.d.ts +1 -0
- package/lib/theme/Icon/WordWrap/index.d.ts +1 -0
- package/lib/theme/LastUpdated/index.d.ts +1 -0
- package/lib/theme/Layout/Provider/index.d.ts +1 -0
- package/lib/theme/Layout/index.d.ts +2 -0
- package/lib/theme/Logo/index.d.ts +1 -0
- package/lib/theme/MDXComponents/A.d.ts +1 -0
- package/lib/theme/MDXComponents/Code.d.ts +1 -0
- package/lib/theme/MDXComponents/Details.d.ts +1 -0
- package/lib/theme/MDXComponents/Heading.d.ts +1 -0
- package/lib/theme/MDXComponents/Img/index.d.ts +1 -0
- package/lib/theme/MDXComponents/Li.d.ts +1 -0
- package/lib/theme/MDXComponents/Pre.d.ts +1 -0
- package/lib/theme/MDXComponents/Ul/index.d.ts +1 -0
- package/lib/theme/MDXComponents/index.d.ts +1 -0
- package/lib/theme/MDXComponents/index.js +1 -1
- package/lib/theme/MDXContent/index.d.ts +1 -0
- package/lib/theme/MDXPage/index.js +22 -1
- package/lib/theme/Mermaid.d.ts +1 -0
- package/lib/theme/Navbar/ColorModeToggle/index.d.ts +1 -0
- package/lib/theme/Navbar/Layout/index.d.ts +1 -0
- package/lib/theme/Navbar/MobileSidebar/Layout/index.d.ts +1 -0
- package/lib/theme/Navbar/Search/index.d.ts +1 -0
- package/lib/theme/Navbar/Search/styles.module.css +2 -9
- package/lib/theme/NavbarItem/ComponentTypes.d.ts +1 -0
- package/lib/theme/NavbarItem/DefaultNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocSidebarNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocsVersionDropdownNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DocsVersionNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/DropdownNavbarItem/index.d.ts +1 -0
- package/lib/theme/NavbarItem/HtmlNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/LocaleDropdownNavbarItem/index.d.ts +1 -0
- package/lib/theme/NavbarItem/NavbarNavLink.d.ts +1 -0
- package/lib/theme/NavbarItem/SearchNavbarItem.d.ts +1 -0
- package/lib/theme/NavbarItem/index.d.ts +1 -0
- package/lib/theme/NotFound/Content/index.d.ts +1 -0
- package/lib/theme/PaginatorNavLink/index.d.ts +1 -0
- package/lib/theme/SearchBar.d.ts +1 -0
- package/lib/theme/SearchMetadata/index.d.ts +1 -0
- package/lib/theme/TOC/index.d.ts +1 -0
- package/lib/theme/TOCCollapsible/CollapseButton/index.d.ts +1 -0
- package/lib/theme/TOCCollapsible/index.d.ts +1 -0
- package/lib/theme/TOCInline/index.d.ts +1 -0
- package/lib/theme/TOCItems/Tree.d.ts +1 -0
- package/lib/theme/TOCItems/index.d.ts +1 -0
- package/lib/theme/TabItem/index.d.ts +1 -0
- package/lib/theme/Tabs/index.d.ts +1 -0
- package/lib/theme/Tabs/index.js +2 -2
- package/lib/theme/Tag/index.d.ts +1 -0
- package/lib/theme/TagsListByLetter/index.d.ts +1 -0
- package/lib/theme/TagsListInline/index.d.ts +1 -0
- package/lib/theme/ThemedImage/index.d.ts +1 -0
- package/lib/theme/Unlisted/index.d.ts +1 -0
- package/package.json +14 -14
- package/src/theme/Admonition/Layout/index.tsx +1 -1
- package/src/theme/CodeBlock/Line/index.tsx +1 -1
- package/src/theme/MDXPage/index.tsx +23 -1
- package/src/theme/Navbar/Search/styles.module.css +2 -9
- package/src/theme/Tabs/index.tsx +2 -2
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/TOCCollapsible';
|
|
9
10
|
export default function TOCCollapsible({ toc, className, minHeadingLevel, maxHeadingLevel, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/TOCInline';
|
|
9
10
|
export default function TOCInline({ toc, minHeadingLevel, maxHeadingLevel, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
import React from 'react';
|
|
8
9
|
import type { Props } from '@theme/TOCItems/Tree';
|
|
9
10
|
declare function TOCItemTree({ toc, className, linkClassName, isChild, }: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/TOCItems';
|
|
9
10
|
export default function TOCItems({ toc, className, linkClassName, linkActiveClassName, minHeadingLevel: minHeadingLevelOption, maxHeadingLevel: maxHeadingLevelOption, ...props }: Props): JSX.Element | null;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/TabItem';
|
|
9
10
|
export default function TabItem({ children, hidden, className, }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Tabs';
|
|
9
10
|
export default function Tabs(props: Props): JSX.Element;
|
package/lib/theme/Tabs/index.js
CHANGED
|
@@ -108,8 +108,8 @@ function TabsComponent(props) {
|
|
|
108
108
|
const tabs = useTabs(props);
|
|
109
109
|
return (
|
|
110
110
|
<div className={clsx('tabs-container', styles.tabList)}>
|
|
111
|
-
<TabList {...
|
|
112
|
-
<TabContent {...
|
|
111
|
+
<TabList {...tabs} {...props} />
|
|
112
|
+
<TabContent {...tabs} {...props} />
|
|
113
113
|
</div>
|
|
114
114
|
);
|
|
115
115
|
}
|
package/lib/theme/Tag/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Tag';
|
|
9
10
|
export default function Tag({ permalink, label, count }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/TagsListByLetter';
|
|
9
10
|
export default function TagsListByLetter({ tags }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/TagsListInline';
|
|
9
10
|
export default function TagsListInline({ tags }: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/ThemedImage';
|
|
9
10
|
export default function ThemedImage(props: Props): JSX.Element;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
+
/// <reference path="../../../src/theme-classic.d.ts" />
|
|
7
8
|
/// <reference types="react" />
|
|
8
9
|
import type { Props } from '@theme/Unlisted';
|
|
9
10
|
export default function Unlisted(props: Props): JSX.Element | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-classic",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.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": "3.
|
|
24
|
-
"@docusaurus/mdx-loader": "3.
|
|
25
|
-
"@docusaurus/module-type-aliases": "3.
|
|
26
|
-
"@docusaurus/plugin-content-blog": "3.
|
|
27
|
-
"@docusaurus/plugin-content-docs": "3.
|
|
28
|
-
"@docusaurus/plugin-content-pages": "3.
|
|
29
|
-
"@docusaurus/theme-common": "3.
|
|
30
|
-
"@docusaurus/theme-translations": "3.
|
|
31
|
-
"@docusaurus/types": "3.
|
|
32
|
-
"@docusaurus/utils": "3.
|
|
33
|
-
"@docusaurus/utils-common": "3.
|
|
34
|
-
"@docusaurus/utils-validation": "3.
|
|
23
|
+
"@docusaurus/core": "3.3.1",
|
|
24
|
+
"@docusaurus/mdx-loader": "3.3.0",
|
|
25
|
+
"@docusaurus/module-type-aliases": "3.3.1",
|
|
26
|
+
"@docusaurus/plugin-content-blog": "3.3.1",
|
|
27
|
+
"@docusaurus/plugin-content-docs": "3.3.1",
|
|
28
|
+
"@docusaurus/plugin-content-pages": "3.3.1",
|
|
29
|
+
"@docusaurus/theme-common": "3.3.1",
|
|
30
|
+
"@docusaurus/theme-translations": "3.3.1",
|
|
31
|
+
"@docusaurus/types": "3.3.0",
|
|
32
|
+
"@docusaurus/utils": "3.3.0",
|
|
33
|
+
"@docusaurus/utils-common": "3.3.0",
|
|
34
|
+
"@docusaurus/utils-validation": "3.3.0",
|
|
35
35
|
"@mdx-js/react": "^3.0.0",
|
|
36
36
|
"clsx": "^2.0.0",
|
|
37
37
|
"copy-text-to-clipboard": "^3.2.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=18.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "f3524cf332e803ff82783ee9c1c86c4342fc1f71"
|
|
65
65
|
}
|
|
@@ -50,7 +50,7 @@ export default function AdmonitionLayout(props: Props): JSX.Element {
|
|
|
50
50
|
const {type, icon, title, children, className} = props;
|
|
51
51
|
return (
|
|
52
52
|
<AdmonitionContainer type={type} className={className}>
|
|
53
|
-
<AdmonitionHeading title={title} icon={icon} />
|
|
53
|
+
{title || icon ? <AdmonitionHeading title={title} icon={icon} /> : null}
|
|
54
54
|
<AdmonitionContent>{children}</AdmonitionContent>
|
|
55
55
|
</AdmonitionContainer>
|
|
56
56
|
);
|
|
@@ -18,12 +18,21 @@ import TOC from '@theme/TOC';
|
|
|
18
18
|
import Unlisted from '@theme/Unlisted';
|
|
19
19
|
import type {Props} from '@theme/MDXPage';
|
|
20
20
|
|
|
21
|
+
import EditMetaRow from '@theme/EditMetaRow';
|
|
21
22
|
import styles from './styles.module.css';
|
|
22
23
|
|
|
23
24
|
export default function MDXPage(props: Props): JSX.Element {
|
|
24
25
|
const {content: MDXPageContent} = props;
|
|
25
26
|
const {
|
|
26
|
-
metadata: {
|
|
27
|
+
metadata: {
|
|
28
|
+
title,
|
|
29
|
+
editUrl,
|
|
30
|
+
description,
|
|
31
|
+
frontMatter,
|
|
32
|
+
unlisted,
|
|
33
|
+
lastUpdatedBy,
|
|
34
|
+
lastUpdatedAt,
|
|
35
|
+
},
|
|
27
36
|
assets,
|
|
28
37
|
} = MDXPageContent;
|
|
29
38
|
const {
|
|
@@ -33,6 +42,8 @@ export default function MDXPage(props: Props): JSX.Element {
|
|
|
33
42
|
} = frontMatter;
|
|
34
43
|
const image = assets.image ?? frontMatter.image;
|
|
35
44
|
|
|
45
|
+
const canDisplayEditMetaRow = !!(editUrl || lastUpdatedAt || lastUpdatedBy);
|
|
46
|
+
|
|
36
47
|
return (
|
|
37
48
|
<HtmlClassNameProvider
|
|
38
49
|
className={clsx(
|
|
@@ -55,6 +66,17 @@ export default function MDXPage(props: Props): JSX.Element {
|
|
|
55
66
|
<MDXPageContent />
|
|
56
67
|
</MDXContent>
|
|
57
68
|
</article>
|
|
69
|
+
{canDisplayEditMetaRow && (
|
|
70
|
+
<EditMetaRow
|
|
71
|
+
className={clsx(
|
|
72
|
+
'margin-top--sm',
|
|
73
|
+
ThemeClassNames.pages.pageFooterEditMetaRow,
|
|
74
|
+
)}
|
|
75
|
+
editUrl={editUrl}
|
|
76
|
+
lastUpdatedAt={lastUpdatedAt}
|
|
77
|
+
lastUpdatedBy={lastUpdatedBy}
|
|
78
|
+
/>
|
|
79
|
+
)}
|
|
58
80
|
</div>
|
|
59
81
|
{!hideTableOfContents && MDXPageContent.toc.length > 0 && (
|
|
60
82
|
<div className="col col--2">
|
|
@@ -9,15 +9,8 @@
|
|
|
9
9
|
Workaround to avoid rendering empty search container
|
|
10
10
|
See https://github.com/facebook/docusaurus/pull/9385
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
only needed for Firefox < 121
|
|
15
|
-
see https://github.com/facebook/docusaurus/issues/9527#issuecomment-1805272379
|
|
16
|
-
*/
|
|
17
|
-
@supports selector(:has(*)) {
|
|
18
|
-
.navbarSearchContainer:not(:has(> *)) {
|
|
19
|
-
display: none;
|
|
20
|
-
}
|
|
12
|
+
.navbarSearchContainer:empty {
|
|
13
|
+
display: none;
|
|
21
14
|
}
|
|
22
15
|
|
|
23
16
|
@media (max-width: 996px) {
|
package/src/theme/Tabs/index.tsx
CHANGED
|
@@ -140,8 +140,8 @@ function TabsComponent(props: Props): JSX.Element {
|
|
|
140
140
|
const tabs = useTabs(props);
|
|
141
141
|
return (
|
|
142
142
|
<div className={clsx('tabs-container', styles.tabList)}>
|
|
143
|
-
<TabList {...
|
|
144
|
-
<TabContent {...
|
|
143
|
+
<TabList {...tabs} {...props} />
|
|
144
|
+
<TabContent {...tabs} {...props} />
|
|
145
145
|
</div>
|
|
146
146
|
);
|
|
147
147
|
}
|