2018-09-18 20:42:51 +10:00

33 lines
861 B
JavaScript

import Page from '../components/Page'
import Section from '../components/Section'
import UploadFile from '../components/UploadFile'
import UploadFileList from '../components/UploadFileList'
import UploadBlob from '../components/UploadBlob'
import Uploads from '../components/Uploads'
import withData from '../providers/with-data'
const IndexPage = () => (
<Page title="Apollo upload examples">
<img
src="/static/apollo-upload-logo.svg"
width="170"
height="128"
alt="Apollo upload logo"
/>
<Section heading="Upload FileList">
<UploadFileList />
</Section>
<Section heading="Upload File">
<UploadFile />
</Section>
<Section heading="Upload Blob">
<UploadBlob />
</Section>
<Section heading="Uploads">
<Uploads />
</Section>
</Page>
)
export default withData(IndexPage)