mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
minor readme tweaks
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
|
||||
export class App extends React.Component {
|
||||
render() {
|
||||
let text = 'My App';
|
||||
return (
|
||||
<div className="App">
|
||||
<h2>{text !== '' ? text : 'Default App Name'}</h2>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,8 +2,6 @@ import React from 'react';
|
||||
|
||||
export class Counter extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
|
||||
);
|
||||
return <p>hello</p>;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user