6 lines
156 B
TypeScript
6 lines
156 B
TypeScript
|
|
import * as React from 'react';
|
||
|
|
import { render } from 'react-dom';
|
||
|
|
|
||
|
|
import Counter from './Counter';
|
||
|
|
|
||
|
|
render(<Counter />, document.getElementById('main'));
|