import React from "react";
import { Row } from "../row/row";
export class RowLayout extends React.Component {
    constructor(props) {
        super(props);
        this.props = props;
        this.elementRef = React.createRef();
    }
    render() {
        const classes = ['limel-form-row--layout'];
        return React.createElement('div', {
            className: classes.join(' '),
            ref: this.elementRef,
        }, this.props.children.map((child, index) => {
            return React.createElement(Row, {
                key: index.toString(),
            }, child);
        }));
    }
}
