19 |
20 |
21 |
{this.props.message.text}
22 |
23 |
24 | Content of Tab Pane 2
25 | Content of Tab Pane 3
26 |
27 |
28 |
;
29 | }
30 | }
--------------------------------------------------------------------------------
/app/web/page/antd/index.tsx:
--------------------------------------------------------------------------------
1 |
2 | import React, { Component, ReactElement } from 'react';
3 | import ReactDOM from 'react-dom';
4 | import { AppContainer } from 'react-hot-loader';
5 | import { Provider, useStaticRendering } from 'mobx-react';
6 | import ConfigStore from './store/config';
7 | import Layout from '@component/layout';
8 | // https://github.com/gaearon/react-hot-loader/issues/525
9 | import { Tab } from './component/tab';
10 | import { TabProps } from '../../typings/type';
11 |
12 | class App extends Component