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

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

const FormErrorMessage = ({ errorMessage, isError, name }) => (index.h("div", { part: cn.cn('form-error-message-container', { [`${name}-error-message-container`]: !!name }), class: "error-message-container" },
    index.h("div", { part: cn.cn('form-error-message', { [`${name}-error-message`]: !!name, 'display-error-message': isError }), class: cn.cn('error-message', {
            'display-error-message': isError,
        }) }, errorMessage)));

exports.FormErrorMessage = FormErrorMessage;
