UNPKG

@hjkl6/dumi-theme-antv

Version:

[![NPM version](https://img.shields.io/npm/v/@antv/dumi-theme-antv.svg?style=flat)](https://npmjs.org/package/@antv/dumi-theme-antv) [![NPM downloads](http://img.shields.io/npm/dm/@antv/dumi-theme-antv.svg?style=flat)](https://npmjs.org/package/@antv/dumi

14 lines 556 B
import { Layout } from 'antd'; import React, { Suspense } from 'react'; import styles from "./index.module.less"; import { Main } from "./Main"; import { Sidebar } from "./Sidebar"; export var ManualContent = function ManualContent(_ref) { var children = _ref.children; return /*#__PURE__*/React.createElement(Layout, { hasSider: true, className: styles.layout }, /*#__PURE__*/React.createElement(Sidebar, null), /*#__PURE__*/React.createElement(Suspense, { fallback: null }, /*#__PURE__*/React.createElement(Main, null, children))); };