Skip to content

Commit 905c272

Browse files
committed
Remove string constraint on Marker icon because it should accept objects too.
1 parent 206ac4b commit 905c272

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/Marker.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ export class Marker extends React.Component {
8787

8888
Marker.propTypes = {
8989
position: T.object,
90-
map: T.object,
91-
icon: T.string
90+
map: T.object
9291
}
9392

9493
evtNames.forEach(e => Marker.propTypes[e] = T.func)

0 commit comments

Comments
 (0)