{React.createElement(
descriptionAsLabel ? "label" : "div",
{
className: classNames(
"relative flex items-start",
!error && descriptionAsLabel ? "text-gray-900" : "text-gray-900",
error && "text-red-800"
),
},
<>
{description}
>
)}
{/* {informationIconText &&
} */}