2018-02-12 09:28:31 -08:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
|
|
*
|
2018-02-16 18:24:55 -08:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2018-02-12 09:28:31 -08:00
|
|
|
*
|
|
|
|
* @flow
|
|
|
|
* @format
|
|
|
|
*/
|
|
|
|
|
|
|
|
import React from 'react';
|
|
|
|
import Page from '../components/Page';
|
|
|
|
import Padded from '../components/Padded';
|
2018-02-13 03:50:36 -08:00
|
|
|
import {Row, Col} from 'antd';
|
2018-02-12 10:25:02 -08:00
|
|
|
import Link from 'gatsby-link';
|
2018-02-13 03:50:36 -08:00
|
|
|
import './index.css';
|
2018-02-12 09:28:31 -08:00
|
|
|
|
|
|
|
export default ({pathContext}) => {
|
|
|
|
return (
|
2018-02-19 02:08:18 -08:00
|
|
|
<Page
|
|
|
|
className="doc-block no-playground"
|
|
|
|
shouldShowFooter
|
|
|
|
title={pathContext.frontmatter.title}>
|
2018-02-12 09:28:31 -08:00
|
|
|
<Padded>
|
2018-02-13 03:50:36 -08:00
|
|
|
<Row>
|
|
|
|
<Col xl={16} lg={16} md={24} sm={24} xs={24}>
|
2018-02-15 06:12:23 -08:00
|
|
|
<div
|
|
|
|
className="markdown"
|
|
|
|
dangerouslySetInnerHTML={{__html: pathContext.html}}
|
|
|
|
/>
|
2018-02-13 03:50:36 -08:00
|
|
|
</Col>
|
|
|
|
</Row>
|
|
|
|
<Link to="/docs" className="overview">
|
|
|
|
BACK TO OVERVIEW
|
2018-02-12 10:25:02 -08:00
|
|
|
</Link>
|
2018-02-12 09:28:31 -08:00
|
|
|
</Padded>
|
|
|
|
</Page>
|
|
|
|
);
|
|
|
|
};
|