2018-02-12 09:28:31 -08:00
|
|
|
/**
|
|
|
|
* Copyright (c) 2014-present, Facebook, Inc.
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* This source code is licensed under the BSD-style license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
*
|
|
|
|
* @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-13 03:50:36 -08:00
|
|
|
<Page className="doc-block">
|
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}>
|
|
|
|
<div className="markdown" dangerouslySetInnerHTML={{__html: pathContext.html}} />
|
|
|
|
</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>
|
|
|
|
);
|
|
|
|
};
|