import React from 'react'; import PropTypes from 'prop-types'; import { Panel } from 'react-bootstrap'; import Prism from 'prismjs'; import Helmet from 'react-helmet'; const prismLang = { css: 'css', js: 'javascript', jsx: 'javascript', html: 'markup' }; function SolutionViewer({ files }) { return (
{ Object.keys(files) .map(key => files[key]) .map(file => (
                
              
)) }
); } SolutionViewer.displayName = 'SolutionViewer'; SolutionViewer.propTypes = { files: PropTypes.object }; export default SolutionViewer;