import Group from "./Group.js";
import "../../style/form.less";

export default class Form extends React.Component {
	render() {
		const {
			datas,
			form
		} = this.props;

		return (
			<div className="birth-editor-form">
				{ datas.map(data => <Group ecId={`${this && this.props && this.props.ecId || ''}_Group@c64g49@hrm`} datas={data.datas} name={data.name} form={form}/>) }
			</div>
		);
	}
}