Skip to content

Commit bd70952

Browse files
author
Alberto Dallaporta
committed
add custom children description in README
1 parent 3313c1d commit bd70952

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ This module wants to provide a stable and performing solution for maps clusterin
1919

2020
**NOTES:**
2121

22-
* the prop `key` of the markers rendered through `renderMarker` should not be left up to React. Instead, we strongly suggest to use an `id` in order the have unique keys while still taking advantage of React's recycling.
22+
* the prop `key` of the markers rendered through `renderMarker` should not be left up to React. Instead, we strongly suggest to use an `id` in order the have unique keys while still taking advantage of React's recycling
23+
* `ClusteredMapView` supports usual React children. Those children **won't be affected by clustering**, i.e. the behavior for those children is exactly the same as wrapping them around an [AirBnB's react-native-maps](https://github.com/airbnb/react-native-maps) instance
2324

2425
```JSX
2526
import React, { Component } from 'react'

0 commit comments

Comments
 (0)