mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-04 20:57:17 +02:00
10 lines
241 B
JavaScript
10 lines
241 B
JavaScript
import React from 'react';
|
|
import {render} from 'react-dom';
|
|
import theme from '@theme';
|
|
|
|
class App extends React.Component {
|
|
render() {
|
|
return <div>Hello world! {theme()} </div>;
|
|
}
|
|
}
|
|
render(<App />, document.getElementById('app'));
|