From d1c5bd74b42081009d85fa85a13c06a56dfe3f97 Mon Sep 17 00:00:00 2001 From: harshilparmar Date: Tue, 21 Dec 2021 01:13:53 -0500 Subject: [PATCH] es2021 changes --- src/App.js | 7 ++-- src/components/Tabs.js | 7 ++-- src/data/es21.js | 79 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 src/data/es21.js diff --git a/src/App.js b/src/App.js index 0e79542..39a0045 100644 --- a/src/App.js +++ b/src/App.js @@ -6,16 +6,19 @@ import Card from './components/Card'; import es5 from './data/es5'; import es6 from './data/es6'; import es7 from './data/es7'; +import es21 from './data/es21'; + class App extends Component { - consolidatedData = [...es5, ...es6, ...es7]; + consolidatedData = [...es5, ...es6, ...es7,...es21]; state = { data: this.consolidatedData, es5, es6, es7, + es21, activeTab: -1, //-1 indicates 'All' tab, searchKeyword: '' } @@ -65,7 +68,7 @@ class App extends Component {