"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const rebass_1 = require("rebass");
const join_1 = tslib_1.__importDefault(require("../utils/join"));
const defaulProps = {
    flexDirection: 'row',
    alignItems: 'center',
};
const FieldWrap = (props) => {
    const flexProps = { ...defaulProps, ...props };
    return React.createElement(rebass_1.Flex, { ...flexProps, className: (0, join_1.default)(props.className, 'ab-FieldWrap') });
};
exports.default = FieldWrap;
