docusaurus/v2/test/__fixtures__/transversioned-site/pages/index.js
Endilie Yacop Sucipto 8695ed89a6
refactor(v2): use react hooks on root app (#1095)
* refactor(v2): use functional component + react hooks for App

* docusaurus/link

* nits

* review
2018-11-08 10:23:07 +08:00

23 lines
529 B
JavaScript

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import React from 'react';
import Head from '@docusaurus/Head';
export default class Home extends React.Component {
render() {
return (
<div>
<Head>
<title>Home</title>
<link rel="stylesheet" type="text/css" href="/css/basic.css" />
</Head>
<div>Home ... </div>
</div>
);
}
}