Created
July 19, 2018 14:07
-
-
Save andresgalante/2a54efe0a7444ab317fb89fea1208c9e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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