import cn from "classnames"; import { withProps } from "recompose"; import { ValidationMessage } from "coral-framework/lib/form"; import CLASSES from "coral-stream/classes"; import { PropTypesOf } from "coral-ui/types"; /** * Like from the form library but with a stable css classname. */ export default withProps< Partial>, PropTypesOf >(({ className }) => ({ className: cn(className, CLASSES.validationMessage), }))(ValidationMessage);