Use view-only notes

This commit is contained in:
Tom Russell 2019-08-14 22:23:12 +01:00
parent a9cd7a58ea
commit f05c1b5552

View File

@ -1,15 +1,35 @@
import React from 'react'; import React, { Fragment } from 'react';
import withCopyEdit from '../data-container'; import withCopyEdit from '../data-container';
import DataEntry from '../data-components/data-entry';
/** /**
* Use view/edit section * Use view/edit section
*/ */
const UseView = (props) => ( const UseView = (props) => (
<dl className="data-list"> <Fragment>
<p className="data-intro">{props.intro}</p>
</dl> <ul>
<li>Single or multiple use?</li>
{
// "disabled": true,
// "slug": "use_multi",
// "type": "checkbox"
}
<li>Type of use/s</li>
{
// "disabled": true,
// "slug": "use_type",
// "type": "text_multi"
}
<li>Number of self-contained units</li>
{
// "disabled": true,
// "slug": "use_number_scu",
// "type": "number",
// "step": 1
}
</ul>
</Fragment>
) )
const UseContainer = withCopyEdit(UseView); const UseContainer = withCopyEdit(UseView);