Skip to content

Commit b91c1ad

Browse files
author
CHAWLA Harshit
committed
intial installs and setup
1 parent f9f5cc0 commit b91c1ad

File tree

14 files changed

+127
-116
lines changed

14 files changed

+127
-116
lines changed

.eslintcache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"C:\\HC\\Projects\\react\\react-basic-hooks-tsx\\src\\App.tsx":"1","C:\\HC\\Projects\\react\\react-basic-hooks-tsx\\src\\index.tsx":"2"},{"size":125,"mtime":1606652013858,"results":"3","hashOfConfig":"4"},{"size":199,"mtime":1606651745229,"results":"5","hashOfConfig":"4"},{"filePath":"6","messages":"7","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ryppm0",{"filePath":"8","messages":"9","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\HC\\Projects\\react\\react-basic-hooks-tsx\\src\\App.tsx",[],"C:\\HC\\Projects\\react\\react-basic-hooks-tsx\\src\\index.tsx",[]]

package-lock.json

Lines changed: 117 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@
1010
"@types/node": "^12.19.7",
1111
"@types/react": "^16.14.2",
1212
"@types/react-dom": "^16.9.10",
13+
"@types/styled-components": "^5.1.4",
1314
"react": "^17.0.1",
1415
"react-dom": "^17.0.1",
1516
"react-scripts": "4.0.1",
16-
"typescript": "^4.1.2",
17-
"web-vitals": "^0.2.4"
17+
"styled-components": "^5.2.1",
18+
"typescript": "^4.1.2"
1819
},
1920
"scripts": {
2021
"start": "react-scripts start",

public/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
content="Web site created using create-react-app"
1111
/>
1212
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13+
<link rel="preconnect" href="https://fonts.gstatic.com">
14+
<link href="https://fonts.googleapis.com/css2?family=Castoro&family=Catamaran:wght@700&display=swap" rel="stylesheet">
1315
<!--
1416
manifest.json provides metadata used when your web app is installed on a
1517
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/

src/App.css

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/App.test.tsx

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/App.tsx

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,7 @@
11
import React from 'react';
2-
import logo from './logo.svg';
3-
import './App.css';
42

5-
function App() {
6-
return (
7-
<div className="App">
8-
<header className="App-header">
9-
<img src={logo} className="App-logo" alt="logo" />
10-
<p>
11-
Edit <code>src/App.tsx</code> and save to reload.
12-
</p>
13-
<a
14-
className="App-link"
15-
href="https://reactjs.org"
16-
target="_blank"
17-
rel="noopener noreferrer"
18-
>
19-
Learn React
20-
</a>
21-
</header>
22-
</div>
23-
);
3+
const App: React.FC = () =>{
4+
return <React.Fragment>quiz</React.Fragment>
245
}
256

267
export default App;
341 KB
Loading

src/index.css

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/index.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
3-
import './index.css';
43
import App from './App';
5-
import reportWebVitals from './reportWebVitals';
64

75
ReactDOM.render(
86
<React.StrictMode>
@@ -11,7 +9,4 @@ ReactDOM.render(
119
document.getElementById('root')
1210
);
1311

14-
// If you want to start measuring performance in your app, pass a function
15-
// to log results (for example: reportWebVitals(console.log))
16-
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
17-
reportWebVitals();
12+

0 commit comments

Comments
 (0)