import React from 'react' import { Highlight } from '@freesewing/react/components/Highlight' import hljs from 'highlight.js/lib/common' export const Json = (props) => { const code = props.js ? JSON.stringify(props.js, null, 2) : props.children return ( ) }