import { html } from '@reddit/faceplate-ui/templateRenderingStrategy/clientStrategy.js';
const isRequired = (field) => field.required === true ? html `<span class="text-danger-content">*</span>` : html ``;
export const renderFieldLabel = (field, classnames) => html `<label for="${field.fieldId}" class="${classnames || ''}"
    >${field.label}${isRequired(field)}</label
  >`;
//# sourceMappingURL=renderFieldLabel.js.map