Created
January 19, 2022 15:21
-
-
Save axcellence/caa5d21fcc433103d6d39de3b299d235 to your computer and use it in GitHub Desktop.
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
const Dump = ({ data }) => { | |
if (!data) return null; | |
return ( | |
<pre className="bg-gray-100 text-sm p-4"> | |
<code>{JSON.stringify(data, null, 4)}</code> | |
</pre> | |
); | |
}; | |
export default Dump; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment