Skip to content

Commit 5638db2

Browse files
Update App.tsx
1 parent d1140f5 commit 5638db2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/App.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ function App() {
88
margin: 100,
99
width: 250
1010
}
11-
const sportsData: { [key: string]: Object }[] = [
12-
{ Id: 'game1', Game: 'Badminton' },
13-
{ Id: 'game2', Game: 'Football' },
14-
{ Id: 'game3', Game: 'Tennis' }
15-
];
11+
// To bind JSON object
12+
// const sportsData:{ [key: string]: Object }[] = [
13+
// { Id: 'game1', Game: 'Badminton' },
14+
// { Id: 'game2', Game: 'Football' },
15+
// { Id: 'game3', Game: 'Tennis' }
16+
// ];
1617
const remoteData: DataManager = new DataManager({
1718
url: "https://ej2services.syncfusion.com/production/web-services/api/Employees",
1819
adaptor: new WebApiAdaptor,

0 commit comments

Comments
 (0)