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'; /** * Community view/edit section */ const CommunityView: React.FunctionComponent = (props) => { const worthKeepingReasonsNonEmpty = Object.values(props.building.community_type_worth_keeping_reasons ?? {}).some(x => x); return <>
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 about public ownership of the building? {/* */} {/*

{props.intro}

*/} {/* */} }; const CommunityContainer = withCopyEdit(CommunityView); export default CommunityContainer;