import { html } from '@reddit/faceplate-ui/templateRenderingStrategy/clientStrategy.js';
import { renderFieldLabel } from './renderFieldLabel.js';
export const renderGroupField = (field, renderFormFields) => {
    return html `
    <div class="flex flex-col py-xs border-0 gap-y-xs">
      ${renderFieldLabel(field)}
      <div class="flex flex-col border border-solid border-tone-4 rounded-sm px-xs">
        ${renderFormFields(field.fieldConfig?.groupConfig?.fields ?? [])}
      </div>
    </div>
  `;
};
//# sourceMappingURL=renderGroupField.js.map