|
@@ -1,24 +1,14 @@
|
|
|
import React from 'react';
|
|
|
+import mechData from './mech-data.json'
|
|
|
|
|
|
function MechPicker() {
|
|
|
return (
|
|
|
- <aside className='mech-picker'>
|
|
|
+ <aside>
|
|
|
<h2>Mech picker</h2>
|
|
|
<ul>
|
|
|
- <li>Mech Import</li>
|
|
|
- <li>Mech 2</li>
|
|
|
- <li>Mech 3</li>
|
|
|
- <li>Mech 4</li>
|
|
|
- <li>Mech 5</li>
|
|
|
- <li>Mech 6</li>
|
|
|
- <li>Mech 7</li>
|
|
|
- <li>Mech 8</li>
|
|
|
- <li>Mech 9</li>
|
|
|
- <li>Mech 10</li>
|
|
|
- <li>Mech 11</li>
|
|
|
- <li>Mech 12</li>
|
|
|
- <li>Mech 13</li>
|
|
|
- <li>Mech 14</li>
|
|
|
+ {mechData.map(mech => (
|
|
|
+ <li key={mech.id}>{mech.name}</li>
|
|
|
+ ))}
|
|
|
</ul>
|
|
|
</aside>
|
|
|
);
|