mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
15 lines
302 B
TypeScript
15 lines
302 B
TypeScript
import React from 'react';
|
|
import { Counter } from './components/Counter';
|
|
|
|
export class App extends React.Component<any, any> {
|
|
render() {
|
|
return (
|
|
<div className="App">
|
|
<h2>My App</h2>
|
|
<Counter text="Chickens" />
|
|
<Counter text="Ducks" />
|
|
</div>
|
|
);
|
|
}
|
|
}
|