import React from 'react'; import BuildingNotFound from './building-not-found'; import LocationContainer from './data-containers/location'; import UseContainer from './data-containers/use'; import TypeContainer from './data-containers/type'; import AgeContainer from './data-containers/age'; import SizeContainer from './data-containers/size'; import ConstructionContainer from './data-containers/construction'; import TeamContainer from './data-containers/team'; import SustainabilityContainer from './data-containers/sustainability'; import GreeneryContainer from './data-containers/greenery'; import CommunityContainer from './data-containers/community'; import PlanningContainer from './data-containers/planning'; import LikeContainer from './data-containers/like'; /** * Top-level container for building view/edit form * * @param props */ const BuildingView = (props) => { if (typeof(props.building) === "undefined"){ return } switch (props.cat) { case 'location': return case 'use': return case 'type': return case 'age': return case 'size': return case 'construction': return case 'team': return case 'sustainability': return case 'greenery': return case 'community': return case 'planning': return case 'like': return default: return } } export default BuildingView;