import '@reddit/faceplate-ui/components/faceplate-switch-input.js';
import { html } from '@reddit/faceplate-ui/templateRenderingStrategy/clientStrategy.js';
export const renderBooleanField = (field) => html `
  <faceplate-switch-input
    id="${field.fieldId}"
    name="${field.fieldId}"
    class="py-xs border-0"
    ?required="${field.required}"
    ?checked="${field.defaultValue?.boolValue}"
    ?disabled="${field.disabled}"
  >
    ${field.label}
  </faceplate-switch-input>
`;
//# sourceMappingURL=renderBooleanField.js.map