/*!
 * Built by ShiftSoftware
 * Copyright (c)
 */
import { h } from "@stencil/core";
import cn from "../../../global/lib/cn";
export const FormErrorMessage = ({ errorMessage, isError, name }) => (h("div", { part: cn('form-error-message-container', { [`${name}-error-message-container`]: !!name }), class: "error-message-container" }, h("div", { part: cn('form-error-message', { [`${name}-error-message`]: !!name, 'display-error-message': isError }), class: cn('error-message', {
        'display-error-message': isError,
    }) }, errorMessage)));
