mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
up to step 4
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
export class Counter extends React.Component<any, any> {
|
||||
|
||||
export class Counter extends React.Component {
|
||||
render() {
|
||||
|
||||
return (
|
||||
|
||||
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
4
step1-04/demo/src/index.temp
Normal file
4
step1-04/demo/src/index.temp
Normal file
@@ -0,0 +1,4 @@
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { App } from './App';
|
||||
ReactDOM.render(<App />, document.getElementById('app'));
|
||||
Reference in New Issue
Block a user