Update form example to better format the form return data (https://github.com/woocommerce/woocommerce-admin/pull/3706)

This commit is contained in:
Bec Scott 2020-02-13 15:15:35 +10:00 committed by GitHub
parent 6ed3943281
commit f5292427d8
1 changed files with 5 additions and 2 deletions

View File

@ -77,8 +77,11 @@ export default () => (
</Button>
<br />
<br />
Values: { JSON.stringify( values ) }<br />
Errors: { JSON.stringify( errors ) }<br />
<h3>Return data:</h3>
<pre>
Values: { JSON.stringify( values ) }<br />
Errors: { JSON.stringify( errors ) }
</pre>
</div>
) }
</Form>