// Libraries
import React from 'react';
import Docs from '@antscorp/document';

// Component
import {components} from '../components/constant';

import '@antscorp/document/main.css/';

const App: React.FC = () => {
    const defaultProps = {
        sidebar: {
            defaultOpenKeys: ['component'],
            defaultSelectedKeys: ['word-cloud']
        },
        copyright: 'ants©2020',
        menus: components
    };

    return (
        <Docs  {...defaultProps}  />
    );
};

export default App;
