-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
25 lines (21 loc) · 921 Bytes
/
main.js
File metadata and controls
25 lines (21 loc) · 921 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import React from 'react';
import ReactDOM from 'react-dom';
//import App from './App.jsx';
import Button from './Button.jsx';
import Reuse from './Button.jsx';
import Card from './Card.jsx';
import CardList from './Card.jsx';
import App from './Card.jsx';
// let data =[
// { name : "Tanmay Gujar",
// avatar_url : "https://avatars0.githubusercontent.com/u/19?v=4",
// company : "Nitor Infotech"},
// { name : "Aziz Nagpurwala",
// avatar_url : "https://avatars2.githubusercontent.com/u/37330246?v=4",
// company : "Nitor Infotech"},
// ];
//ReactDOM.render(<App />,document.getElementById('app'));
// ReactDOM.render(<Button/>,document.getElementById('button'));
//ReactDOM.render(<Reuse/>,document.getElementById('button'));
//ReactDOM.render(<CardList cards={data}/>,document.getElementById('CardComponentData'));
ReactDOM.render(<App />,document.getElementById('CardComponentData'));