Добавление страницы information (#41)

This commit is contained in:
Nikolay
2020-12-29 15:02:18 +03:00
committed by GitHub
parent 33cd679de3
commit 534fa35485
31 changed files with 434 additions and 94 deletions

View File

@ -1,8 +1,18 @@
import React, {memo} from 'react';
import React, {Fragment, memo} from 'react';
import {isNotEmpty} from '_referers/common';
import {makeTreeList} from '_utils/makeTreeList';
import {FolderList, TaskList} from '../../consts';
import InfoList from '../info-list';
const tree = makeTreeList(FolderList, TaskList);
const Page: React.FC = () => {
return (
<div>information</div>
<Fragment>
{isNotEmpty(tree) && (
<InfoList list={tree} space={1} />
)}
</Fragment>
);
};