'use client' import type { FC } from 'react' import React from 'react' import cn from '@/utils/classnames' import { AlertTriangle } from '@/app/components/base/icons/src/vender/solid/alertsAndFeedback' type Props = { className?: string title: string errorMsg?: string } const ErrorMessage: FC = ({ className, title, errorMsg, }) => { return (
{title}
{errorMsg && (
{errorMsg}
)}
) } export default React.memo(ErrorMessage)