@@ -19,7 +19,7 @@ import Table from './Table';
1919interface Data {
2020 id : number ;
2121 name : string ;
22- dateofbirth : string ;
22+ dateOfBirth : string ;
2323 link : string ;
2424 characteristics : string [ ] ;
2525 status : string ;
@@ -31,7 +31,7 @@ const data = [
3131 {
3232 id : 1 ,
3333 name : 'African Elephant' ,
34- dateofbirth : '2010-05-12' ,
34+ dateOfBirth : '2010-05-12' ,
3535 link : 'https://en.wikipedia.org/wiki/african_elephant' ,
3636 characteristics : [
3737 'Large' ,
@@ -45,7 +45,7 @@ const data = [
4545 {
4646 id : 2 ,
4747 name : 'Bald Eagle' ,
48- dateofbirth : '2012-07-04' ,
48+ dateOfBirth : '2012-07-04' ,
4949 link : 'https://en.wikipedia.org/wiki/bald_eagle' ,
5050 characteristics : [
5151 'Large wingspan' ,
@@ -59,7 +59,7 @@ const data = [
5959 {
6060 id : 3 ,
6161 name : 'Cheetah' ,
62- dateofbirth : '2015-03-22' ,
62+ dateOfBirth : '2015-03-22' ,
6363 link : 'https://en.wikipedia.org/wiki/cheetah' ,
6464 characteristics : [
6565 'Fast' ,
@@ -73,7 +73,7 @@ const data = [
7373 {
7474 id : 4 ,
7575 name : 'Dolphin' ,
76- dateofbirth : '2013-09-18' ,
76+ dateOfBirth : '2013-09-18' ,
7777 link : 'https://en.wikipedia.org/wiki/dolphin' ,
7878 characteristics : [
7979 'Intelligent' ,
@@ -87,7 +87,7 @@ const data = [
8787 {
8888 id : 5 ,
8989 name : 'Emperor Penguin' ,
90- dateofbirth : '2011-12-01' ,
90+ dateOfBirth : '2011-12-01' ,
9191 link : 'https://en.wikipedia.org/wiki/emperor_penguin' ,
9292 characteristics : [
9393 'Large' ,
@@ -101,7 +101,7 @@ const data = [
101101 {
102102 id : 6 ,
103103 name : 'Fennec Fox' ,
104- dateofbirth : '2016-01-10' ,
104+ dateOfBirth : '2016-01-10' ,
105105 link : 'https://en.wikipedia.org/wiki/fennec_fox' ,
106106 characteristics : [
107107 'Small' ,
@@ -115,7 +115,7 @@ const data = [
115115 {
116116 id : 7 ,
117117 name : 'Giant Panda' ,
118- dateofbirth : '2014-08-23' ,
118+ dateOfBirth : '2014-08-23' ,
119119 link : 'https://en.wikipedia.org/wiki/giant_panda' ,
120120 characteristics : [
121121 'Black and white' ,
@@ -129,7 +129,7 @@ const data = [
129129 {
130130 id : 8 ,
131131 name : 'Great White Shark' ,
132- dateofbirth : '2009-06-15' ,
132+ dateOfBirth : '2009-06-15' ,
133133 link : 'https://en.wikipedia.org/wiki/great_white_shark' ,
134134 characteristics : [
135135 'Large' ,
@@ -143,11 +143,11 @@ const data = [
143143 {
144144 id : 9 ,
145145 name : 'Hummingbird' ,
146- dateofbirth : '2018-04-05' ,
146+ dateOfBirth : '2018-04-05' ,
147147 link : 'https://en.wikipedia.org/wiki/hummingbird' ,
148148 characteristics : [
149149 'Small' ,
150- 'Colorful ' ,
150+ 'Colourful ' ,
151151 'Fast wings' ,
152152 ] ,
153153 status : 'Least Concern' ,
@@ -157,7 +157,7 @@ const data = [
157157 {
158158 id : 10 ,
159159 name : 'Indian Tiger' ,
160- dateofbirth : '2013-11-11' ,
160+ dateOfBirth : '2013-11-11' ,
161161 link : 'https://en.wikipedia.org/wiki/indian_tiger' ,
162162 characteristics : [
163163 'Striped' ,
@@ -183,9 +183,9 @@ const columns = [
183183 ( item ) => item . name ,
184184 ) ,
185185 createDateColumn < Data , number > (
186- 'dateofbirth ' ,
186+ 'dateOfBirth ' ,
187187 'Date of Birth' ,
188- ( item ) => item . dateofbirth ,
188+ ( item ) => item . dateOfBirth ,
189189 ) ,
190190 createElementColumn < Data , number , { link : string , title : string } > (
191191 'link' ,
0 commit comments