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

56 lines
1.6 KiB
TypeScript
Raw Normal View History

2019-08-14 17:34:47 -04:00
import React, { Fragment } from 'react';
import withCopyEdit from '../data-container';
/**
* Construction view/edit section
*/
const ConstructionView = (props) => (
2019-08-14 17:34:47 -04:00
<Fragment>
<p className="data-intro">{props.intro}</p>
<ul>
<li>Construction system</li>
{
// "disabled": true,
// "slug": "construction_system",
// "type": "text"
}
<li>Primary materials</li>
{
// "disabled": true,
// "slug": "construction_primary_material",
// "type": "text"
}
<li>Secondary materials</li>
{
// "disabled": true,
// "slug": "construction_secondary_material",
// "type": "text"
}
<li>Roofing material</li>
{
// "disabled": true,
// "slug": "construction_roofing_material",
// "type": "text"
}
<li>Percentage of facade glazed</li>
{
// "disabled": true,
// "slug": "construction_facade_percentage_glazed",
// "type": "number",
// "step": 5
}
<li>BIM reference or link</li>
{
// "disabled": true,
// "slug": "construction_bim_reference",
// "type": "text",
// "placeholder": "https://..."
}
</ul>
</Fragment>
2019-11-07 03:13:30 -05:00
);
const ConstructionContainer = withCopyEdit(ConstructionView);
export default ConstructionContainer;