import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { LiveProvider, LiveEditor, LiveError, LivePreview } from 'react-live'; import LiveEditToolTip from './LiveEditToolTip'; class LiveEdit extends Component { constructor(props) { super(props); } static propTypes = { code: PropTypes.string, scope: PropTypes.object, syntax: PropTypes.string, noInline: PropTypes.bool, livePreviewBackground: PropTypes.string, }; render() { const { scope, code, syntax, noInline, livePreviewBackground } = this.props; if (typeof window == 'undefined') { return null; } return ( ); } } export default LiveEdit;