"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = exports.VmCheckboxGroup = void 0;
var _tslib = require("tslib");
var _antd = require("antd");
var _react = _interopRequireDefault(require("react"));
var _useSettings3 = _interopRequireDefault(require("../vm-hooks/useSettings"));
require("./style");
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
var VmCheckbox = function VmCheckbox(props) {
  var children = props.children,
    ext = (0, _tslib.__rest)(props, ["children"]);
  var _useSettings = (0, _useSettings3["default"])(),
    theme = _useSettings.theme;
  return /*#__PURE__*/_react["default"].createElement(_antd.Checkbox, Object.assign({
    className: "ant-checkbox ".concat(theme)
  }, ext), children);
};
var VmCheckboxGroup = exports.VmCheckboxGroup = function VmCheckboxGroup(props) {
  var children = props.children,
    ext = (0, _tslib.__rest)(props, ["children"]);
  var _useSettings2 = (0, _useSettings3["default"])(),
    theme = _useSettings2.theme;
  return /*#__PURE__*/_react["default"].createElement(_antd.Checkbox.Group, Object.assign({
    className: "ant-checkbox-group ".concat(theme)
  }, ext), children);
};
var _default = exports["default"] = VmCheckbox;
//# sourceMappingURL=index.js.map
