Created
October 23, 2016 01:41
-
-
Save geelen/08b9f2da1d90929d1d42632a261a08da 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
import React from 'react' | |
import styled from 'styled-components' | |
const Pre = styled.pre` | |
background-color: papayawhip; | |
color: palevioletred; | |
padding: .5rem; | |
font-family: monospace; | |
` | |
const Debug = props => ( | |
<Pre>{JSON.stringify(props, null, 2)}</Pre> | |
) | |
export default Debug |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment