@antv/dumi-theme-antv 0.3.0-beta.15 → 0.3.0-beta.16

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.
@@ -3,4 +3,4 @@ import './index.module.less';
3
3
  /**
4
4
  * 文档右侧的指示器(table of content)
5
5
  */
6
- export declare const TOC: React.FC<{}>;
6
+ export declare const ContentTable: React.FC<{}>;
@@ -4,4 +4,4 @@ import "./index.module.less";
4
4
  * 文档右侧的指示器(table of content)
5
5
  */
6
6
 
7
- export var TOC = Toc;
7
+ export var ContentTable = Toc;
@@ -31,7 +31,7 @@ import { SEO } from "dumi/theme/slots/SEO";
31
31
  import { getBaseRoute, getIndexRoute, getOpenKeys, getNavigateUrl } from "./utils";
32
32
  import { NavigatorBanner } from "./NavigatorBanner";
33
33
  import ReadingTime from "./ReadingTime";
34
- import { TOC } from "dumi/theme/slots/TOC";
34
+ import { ContentTable } from "dumi/theme/slots/ContentTable";
35
35
  import { useScrollToTop } from "../hooks";
36
36
  import 'rc-drawer/assets/index.css';
37
37
  import styles from "./index.module.less";
@@ -345,5 +345,5 @@ export var ManualContent = function ManualContent(_ref) {
345
345
  width: 260
346
346
  }, /*#__PURE__*/React.createElement(Affix, {
347
347
  className: styles.toc
348
- }, /*#__PURE__*/React.createElement(TOC, null))) : /*#__PURE__*/React.createElement("div", null)));
348
+ }, /*#__PURE__*/React.createElement(ContentTable, null))) : /*#__PURE__*/React.createElement("div", null)));
349
349
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antv/dumi-theme-antv",
3
- "version": "0.3.0-beta.15",
3
+ "version": "0.3.0-beta.16",
4
4
  "description": "AntV website theme based on dumi2.",
5
5
  "types": "dist/types.d.ts",
6
6
  "scripts": {