Skip to content

Instantly share code, notes, and snippets.

@andresgalante
Created July 19, 2018 14:07
Show Gist options
  • Save andresgalante/2a54efe0a7444ab317fb89fea1208c9e to your computer and use it in GitHub Desktop.
Save andresgalante/2a54efe0a7444ab317fb89fea1208c9e to your computer and use it in GitHub Desktop.
import React from 'react';
import Documentation from '@siteComponents/Documentation';
import Example from '@siteComponents/Example';
import docs from '../docs/code.md';
import PagetestExample1Raw from '!raw!./page-test-example1.hbs';
import PagetestExample2Raw from '!raw!./page-test-example2.hbs';
import PagetestExample1 from './page-test-example1.hbs';
import PagetestExample2 from './page-test-example2.hbs';
import '../styles.scss';
export const Docs = docs;
export default () => {
const pageTestExample1 = PagetestExample1();
const pageTestExample2 = PagetestExample2();
return (
<Documentation docs={Docs}>
<Example heading="Pagetest Example 1" handlebars={PagetestExample1Raw}>{pageTestExample1}</Example>
<Example heading="Pagetest Example 2" handlebars={PagetestExample2Raw}>{pageTestExample2}</Example>
</Documentation>
);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment