"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
exports.__esModule = true;
exports.FieldPiiToggle = void 0;
var _react = _interopRequireDefault(require("react"));
var _designSystem = require("@wix/design-system");
var _jsxFileName = "/home/builduser/work/843658b9f44192f0/packages/cairo/dist/cjs/components/CmsFieldManagement/formFields/FieldPiiToggle.tsx";
const FieldPiiToggle = ({
  label,
  checked,
  onChange,
  disabled
}) => /*#__PURE__*/_react.default.createElement(_designSystem.FormField, {
  label: label,
  labelPlacement: "right",
  stretchContent: false,
  __self: void 0,
  __source: {
    fileName: _jsxFileName,
    lineNumber: 17,
    columnNumber: 3
  }
}, /*#__PURE__*/_react.default.createElement(_designSystem.ToggleSwitch, {
  checked: checked,
  onChange: e => onChange(e.target.checked),
  disabled: disabled,
  __self: void 0,
  __source: {
    fileName: _jsxFileName,
    lineNumber: 18,
    columnNumber: 5
  }
}));
exports.FieldPiiToggle = FieldPiiToggle;
//# sourceMappingURL=FieldPiiToggle.js.map