22db157e6e
Fields/children will be written as components, rather than generated declaratively. BuildingEdit will be folded into the withCopyEdit higher-order-component, hopefully removing some duplicated structure and functionality.
16 lines
258 B
TypeScript
16 lines
258 B
TypeScript
import React from 'react';
|
|
|
|
import { withCopyEdit } from '../building-view';
|
|
|
|
/**
|
|
* Use view/edit section
|
|
*/
|
|
const UseView = (props) => (
|
|
<dl className="data-list">
|
|
|
|
</dl>
|
|
)
|
|
const UseContainer = withCopyEdit(UseView);
|
|
|
|
export default UseContainer;
|