You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
/**
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
*
|
|
* @emails react-core
|
|
* @flow
|
|
*/
|
|
|
|
import Layout from 'components/Layout';
|
|
import Container from 'components/Container';
|
|
import Header from 'components/Header';
|
|
import React from 'react';
|
|
import {sharedStyles} from 'theme';
|
|
|
|
type Props = {
|
|
location: Location,
|
|
};
|
|
|
|
const JsxCompiler = ({location}: Props) => (
|
|
<Layout location={location}>
|
|
<Container>
|
|
<div css={sharedStyles.articleLayout.container}>
|
|
<div css={sharedStyles.articleLayout.content}>
|
|
<Header>JSX Compiler Service</Header>
|
|
<div css={sharedStyles.markdown}>
|
|
<p>
|
|
<strong>
|
|
This tool has been removed as JSXTransformer has been
|
|
deprecated.
|
|
</strong>
|
|
</p>
|
|
<p>
|
|
We recommend using another tool such as{' '}
|
|
<a href="https://babeljs.io/repl/">the Babel REPL</a>.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</Container>
|
|
</Layout>
|
|
);
|
|
|
|
export default JsxCompiler;
|
|
|