As seen in https://github.com/react-hook-form/error-message/pull/87#discussion_r714144172, `as` does not take precedence over `render` if the value provided to it is a component rather than an element. The snapshot generated in https://github.com/react-hook-form/error-message/pull/87 is not correct, and should be fixed.
As seen in #87 (comment),
asdoes not take precedence overrenderif the value provided to it is a component rather than an element.The snapshot generated in #87 is not correct, and should be fixed.