32 lines
894 B
TypeScript
32 lines
894 B
TypeScript
import React, { Fragment } from 'react';
|
|
|
|
import withCopyEdit from '../data-container';
|
|
|
|
import { CategoryViewProps } from './category-view-props';
|
|
|
|
/**
|
|
* Team view/edit section
|
|
*/
|
|
const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
|
<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;
|