-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathReference.js
More file actions
40 lines (37 loc) · 1.34 KB
/
Reference.js
File metadata and controls
40 lines (37 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import React from "react";
import Header from "../structural/header/Header";
import Footer from "../structural/Footer";
import ReferencePage from "../reference/ReferencePage";
import * as layoutTypes from "../../constants/LayoutTypes.js";
/**
* Create a layout for reference page.
* @param {object} param0 List of props that will be use in components
* @returns {HTMLElement} Layout of the reference page
*/
export const Reference = ({ editor, editorActions, user, authActions, scene, sceneActions, projectActions, courseActions, projects, courses, match, collectionActions, collections }) => (
<div className="App">
<Header
logging={authActions}
sceneActions={sceneActions}
actions={editorActions}
user={user}
scene={scene}
text={editor.text}
message={editor.message}
projectId={match.params.id}
match={match}
projectActions={projectActions}
courseActions={courseActions}
projects={projects}
courses={courses}
collectionActions={collectionActions}
collections={collections}
layoutType={layoutTypes.REFERENCE}
/>
<div className="row g-0">
<ReferencePage />
</div>
<Footer />
</div>
);
export default Reference;