{typeof icon === 'string' && icon.match(/[^\u0000-\u007F]+/) ? (
{icon}
) : (
icon
)}
{error ? (
{`An error occurred. Please try again in a few moments.\n\nError message: ${text}`}
) : edit ? (
{/*
*/}
{text}
) : (
{/*
*/}
{!isCreatedByUser ? (
) : (
text
)}
)}
enterEdit()}
/>
>
);
}