@coderash/

Experimenting with react typescript

React Typescript

No description

fork
loading
Files
  • src
    • App.tsx
    • App.css
    • App.test.tsx
    • index.css
    • index.tsx
    • logo.svg
  • public
  • images.d.ts
  • package.json
  • tsconfig.json
  • tslint.json
src/App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import * as React from 'react';
import './App.css';

import logo from './logo.svg';

class App extends React.Component {
  public render() {
    return (
      <div className="App">
        <header className="App-header">
          <img src={logo} className="App-logo" alt="logo" />
          <h1 className="App-title">Welcome to React</h1>
        </header>
        <p className="App-intro">
          To get started, edit <code>src/App.tsx</code> and save to reload.
        </p>
      </div>
    );
  }
}

export default App;