Last active
May 26, 2020 23:37
-
-
Save reddyonrails/e68c05df45766a488016d965eb1b2258 to your computer and use it in GitHub Desktop.
formik-debug.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{debug && ( | |
<> | |
<pre style={{ textAlign: "left" }}> | |
<strong>Values</strong> | |
<br /> | |
{JSON.stringify(values, null, 2)} | |
</pre> | |
<pre style={{ textAlign: "left" }}> | |
<strong>Values</strong> | |
<br /> | |
{JSON.stringify(initialValues, null, 2)} | |
</pre> | |
<pre style={{ textAlign: "left" }}> | |
<strong>Errors</strong> | |
<br /> | |
{JSON.stringify(errors, null, 2)} | |
</pre> | |
</> | |
)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment