Merge pull request #4 from Bouncey/chore/moveTemplates
Chore/move templates
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
b1cc6ff6cd
commit
b546d8ed92
40
packages/learn/src/templates/Challenges/project/Show.js
Normal file
40
packages/learn/src/templates/Challenges/project/Show.js
Normal file
@@ -0,0 +1,40 @@
|
||||
import React from 'react';
|
||||
// import { addNS } from 'berkeleys-redux-utils';
|
||||
|
||||
// import ns from './ns.json';
|
||||
// import Main from './Project.jsx';
|
||||
// import ChildContainer from '../../Child-Container.jsx';
|
||||
// import { types } from '../../redux';
|
||||
// import Panes from '../../../../Panes';
|
||||
// import _Map from '../../../../Map';
|
||||
|
||||
// const propTypes = {};
|
||||
// export const mapStateToPanes = addNS(
|
||||
// ns,
|
||||
// () => ({
|
||||
// [types.toggleMap]: 'Map',
|
||||
// [types.toggleMain]: 'Main'
|
||||
// })
|
||||
// );
|
||||
|
||||
// const nameToComponent = {
|
||||
// Map: _Map,
|
||||
// Main: Main
|
||||
// };
|
||||
|
||||
// const renderPane = name => {
|
||||
// const Comp = nameToComponent[name];
|
||||
// return Comp ? <Comp /> : <span>Pane { name } not found</span>;
|
||||
// };
|
||||
|
||||
export default function ShowProject() {
|
||||
return (
|
||||
<h1>Project</h1>
|
||||
// <ChildContainer isFullWidth={ true }>
|
||||
// <Panes render={ renderPane }/>
|
||||
// </ChildContainer>
|
||||
);
|
||||
}
|
||||
|
||||
ShowProject.displayName = 'ShowProject';
|
||||
// ShowProject.propTypes = propTypes;
|
Reference in New Issue
Block a user