import React from 'react';
import { FormField, ToggleSwitch } from '@wix/design-system';
export const FieldPiiToggle = ({ label, checked, onChange, disabled, }) => (React.createElement(FormField, { label: label, labelPlacement: "right", stretchContent: false },
    React.createElement(ToggleSwitch, { checked: checked, onChange: (e) => onChange(e.target.checked), disabled: disabled })));
//# sourceMappingURL=FieldPiiToggle.js.map