"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PHXCheckboxGroup = void 0;
const tslib_1 = require("tslib");
const Checkbox_1 = require("../Checkbox");
const react_1 = tslib_1.__importDefault(require("react"));
const PHXCheckboxGroup = ({ children, defaultChecked = false, error, errorType, idCheckBoxParent, isCheckedCheckboxParent = true, register, titleCheckBoxParent, activeData, className, helpText, label, expanded, onChange, checkType = 'default', disabled, ...rest }) => (react_1.default.createElement(react_1.default.Fragment, null,
    react_1.default.createElement(Checkbox_1.PHXCheckbox, { defaultChecked: defaultChecked, error: error, errorType: errorType, id: idCheckBoxParent, register: register, title: titleCheckBoxParent, activeData: activeData, className: className, helpText: helpText, label: label, expanded: expanded, onChange: onChange, checkType: checkType, disabled: disabled, ...rest }),
    isCheckedCheckboxParent && react_1.default.createElement("div", { className: 'ml-6' }, children)));
exports.PHXCheckboxGroup = PHXCheckboxGroup;
//# sourceMappingURL=CheckboxGroup.js.map