colouring-montreal/app/src/frontend/building/data-containers/streetscape.tsx

26 lines
720 B
TypeScript
Raw Normal View History

2019-08-14 17:06:58 -04:00
import React, { Fragment } from 'react';
import withCopyEdit from '../data-container';
2019-11-07 02:39:26 -05:00
import { CategoryViewProps } from './category-view-props';
/**
2019-09-10 10:05:35 -04:00
* Streetscape view/edit section
*/
const StreetscapeView: React.FunctionComponent<CategoryViewProps> = (props) => (
2019-08-14 17:06:58 -04:00
<Fragment>
<p className="data-intro">{props.intro}</p>
<ul className="data-list">
<li>Gardens</li>
<li>Trees</li>
<li>Green walls</li>
<li>Green roof</li>
<li>Proximity to parks and open greenspace</li>
<li>Building shading</li>
</ul>
</Fragment>
)
2019-09-10 10:05:35 -04:00
const StreetscapeContainer = withCopyEdit(StreetscapeView);
2019-09-10 10:05:35 -04:00
export default StreetscapeContainer;