import './PropertiesForm.scss';
import React from 'react';
import PropTypes from 'prop-types';
class PropertiesForm extends React.Component {
render() {
let types = this.props.types;
let value = this.props.value;
return
{
Object.keys(types).map((name) => {
let type = types[name];
let inputType = null;
if (type === 'string') {
inputType = 'text';
} else if (type === 'number') {
inputType = 'number';
} else if (type === 'boolean') {
inputType = 'checkbox';
}
return