import React from 'react'; import withCopyEdit from '../data-container'; import UserOpinionEntry from '../data-components/user-opinion-data-entry'; import { MultiSelectDataEntry } from '../data-components/multi-select-data-entry'; import { CategoryViewProps } from './category-view-props'; import InfoBox from '../../components/info-box'; import { LogicalDataEntry } from '../data-components/logical-data-entry/logical-data-entry'; import { buildingUserFields, dataFields } from '../../config/data-fields-config'; import './community.css'; import SelectDataEntry from '../data-components/select-data-entry'; import Verification from '../data-components/verification'; import { MultiDataEntry } from '../data-components/multi-data-entry/multi-data-entry'; /** * Community view/edit section */ const CommunityView: React.FunctionComponent = (props) => { const worthKeepingReasonsNonEmpty = Object.values(props.building.community_type_worth_keeping_reasons ?? {}).some(x => x); return <> We are testing a new feature in this section! Switch between different colour maps by using the dropdown in the legend pane.
Can you share your opinion on how well the building works? { props.building.community_type_worth_keeping !== false && ({ key, label: definition.title })) } mode={props.mode} /> }
Can you help add information on community use of buildings? {/* TODO: dates */} { // props.building.community_activities === true && // //
//
//
//
//
} }; const CommunityContainer = withCopyEdit(CommunityView); export default CommunityContainer;