30 |
31 |
13 | My custom marker - {props.itemNumber} 14 |
15 | ); 16 | }; 17 | return ( 18 |{`CUSTOM [${top}, ${left}, ${itemNumber}]`}
62 | ); 63 | 64 | const { queryByText } = render( 65 |
2 |
3 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
101 |
102 |
My custom marker - {props.itemNumber}
116 | ); 117 | }; 118 | ``` 119 | 120 | Now you just need to pass it through the prop `markerComponent` 121 | 122 | ```js 123 |
132 |
133 |