2019-08-14 17:23:12 -04:00
|
|
|
import React, { Fragment } from 'react';
|
2019-08-14 14:33:26 -04:00
|
|
|
|
2019-08-14 16:54:00 -04:00
|
|
|
import withCopyEdit from '../data-container';
|
2019-11-07 02:39:26 -05:00
|
|
|
|
2019-10-18 10:06:50 -04:00
|
|
|
import { CategoryViewProps } from './category-view-props';
|
2019-08-14 14:33:26 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Use view/edit section
|
|
|
|
*/
|
2019-10-18 10:06:50 -04:00
|
|
|
const UseView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
2019-08-14 17:23:12 -04:00
|
|
|
<Fragment>
|
|
|
|
<p className="data-intro">{props.intro}</p>
|
|
|
|
<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>
|
2019-11-07 03:13:30 -05:00
|
|
|
);
|
2019-08-14 14:33:26 -04:00
|
|
|
const UseContainer = withCopyEdit(UseView);
|
|
|
|
|
|
|
|
export default UseContainer;
|