import { html } from "lit";
import { FFormInputElements, FormBuilderField, FormBuilderSwitchField } from "../../../types";
import { Ref, ref } from "lit/directives/ref.js";
import { ifDefined } from "lit-html/directives/if-defined.js";
import { getSlots } from "../../../modules/helpers";
export default function (
name: string,
_field: FormBuilderField,
fieldRef: Ref,
value: unknown
) {
const field = _field as FormBuilderSwitchField;
return html`
${getSlots(name, field)}
`;
}