/*!
 * Built by ShiftSoftware
 * Copyright (c)
 */
'use strict';

var index = require('./index-CmK48vN3.js');
var cn = require('./cn-BHnqYtun.js');

const FormInputLabel = ({ label, isRequired, name }) => {
    if (!label)
        return false;
    return (index.h("div", { part: cn.cn('form-input-label', {
            [`${name}-label`]: !!name,
        }), class: "form-input-label" },
        label,
        isRequired && (index.h("span", { part: cn.cn('form-input-label-required-star', {
                [`${name}-label-required-star`]: !!name,
            }), class: "form-input-label-required-star" }, "*"))));
};

exports.FormInputLabel = FormInputLabel;
