1 import React from 'react';
3 import CountDisplay from './CountDisplay';
4 import ToggleIcon from './ToggleIcon';
5 import { useTracker } from '../../hooks/tracker';
8 const { state } = useTracker();
10 return <div className="items">
11 <div className="item">
12 <ToggleIcon controller={ToggleIcon.simpleController} icons={['bow', 'silvers']} />
14 <div className="item">
17 controller={ToggleIcon.simpleController}
18 icons={['blue-boomerang']}
22 controller={ToggleIcon.simpleController}
23 icons={['red-boomerang']}
26 <div className="item">
27 <ToggleIcon controller={ToggleIcon.simpleController} icons={['hookshot']} />
29 <div className="item">
30 <ToggleIcon controller={ToggleIcon.simpleController} icons={['bomb']} />
32 <div className="item">
34 className="bottom-left"
35 controller={ToggleIcon.simpleController}
40 controller={ToggleIcon.simpleController}
44 <div className="item">
45 <ToggleIcon controller={ToggleIcon.simpleController} icons={['fire-rod']} />
47 <div className="item">
48 <ToggleIcon controller={ToggleIcon.simpleController} icons={['ice-rod']} />
50 <div className="item">
51 <ToggleIcon controller={ToggleIcon.medallionController} icons={['bombos']} />
53 <div className="item">
54 <ToggleIcon controller={ToggleIcon.medallionController} icons={['ether']} />
56 <div className="item">
57 <ToggleIcon controller={ToggleIcon.medallionController} icons={['quake']} />
59 <div className="item">
60 <ToggleIcon controller={ToggleIcon.simpleController} icons={['lamp']} />
62 <div className="item">
63 <ToggleIcon controller={ToggleIcon.simpleController} icons={['hammer']} />
65 <div className="item">
67 className="bottom-left"
68 controller={ToggleIcon.simpleController}
73 controller={ToggleIcon.simpleController}
74 icons={['flute', 'duck']}
77 <div className="item">
78 <ToggleIcon controller={ToggleIcon.simpleController} icons={['bugnet']} />
80 <div className="item">
81 <ToggleIcon controller={ToggleIcon.simpleController} icons={['book']} />
83 <div className="item">
84 <ToggleIcon controller={ToggleIcon.countController(4)} icons={['bottle']} />
85 <CountDisplay className="bottom-right" count={state.bottle || 0} />
87 <div className="item">
88 <ToggleIcon controller={ToggleIcon.simpleController} icons={['somaria']} />
90 <div className="item">
91 <ToggleIcon controller={ToggleIcon.simpleController} icons={['byrna']} />
93 <div className="item">
94 <ToggleIcon controller={ToggleIcon.simpleController} icons={['cape']} />
96 <div className="item">
97 <ToggleIcon controller={ToggleIcon.simpleController} icons={['mirror']} />
102 export default Items;