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

32 lines
947 B
TypeScript
Raw Normal View History

2019-08-14 17:12:24 -04:00
import React, { Fragment } from 'react';
import withCopyEdit from '../data-container';
import DataEntry from '../data-components/data-entry';
import { CategoryViewProps } from './category-view-props';
/**
* Team view/edit section
*/
const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => (
2019-08-14 17:12:24 -04:00
<Fragment>
<p className="data-intro">{props.intro}</p>
<ul>
<li>Construction and design team (original building)</li>
{
// "disabled": true,
// "slug": "team_original",
// "type": "text"
}
<li>Construction and design team (significant additional works)</li>
{
// "disabled": true,
// "slug": "team_after_original",
// "type": "text_multi"
}
</ul>
</Fragment>
)
const TeamContainer = withCopyEdit(TeamView);
export default TeamContainer;