mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
20 lines
486 B
JavaScript
20 lines
486 B
JavaScript
import React from 'react';
|
|
import PropTypes from 'prop-types';
|
|
import Helmet from 'react-helmet';
|
|
require('prismjs/themes/prism-solarizedlight.css');
|
|
import './index.css';
|
|
import Example from '../components/example';
|
|
|
|
const TemplateWrapper = ({children}) =>
|
|
<div>
|
|
<Helmet title="html2canvas - Screenshots with JavaScript" />
|
|
{children()}
|
|
<Example />
|
|
</div>;
|
|
|
|
TemplateWrapper.propTypes = {
|
|
children: PropTypes.func
|
|
};
|
|
|
|
export default TemplateWrapper;
|