Skip to content

Instantly share code, notes, and snippets.

@geelen geelen/debug.jsx
Created Oct 23, 2016

Embed
What would you like to do?
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
You can’t perform that action at this time.