styleLocation prop in MapEvents

This commit is contained in:
Lachlan Kermode
2019-01-08 10:11:18 +00:00
parent 99d1b8fbc1
commit ff68fb1cad
2 changed files with 41 additions and 9 deletions

View File

@@ -162,6 +162,7 @@ class Map extends React.Component {
<MapEvents
svg={this.svgRef.current}
locations={this.props.domain.locations}
styleLocation={(loc) => ({ /* TODO: add styles by location */ })}
categories={this.props.domain.categories}
map={this.map}
mapTransformX={this.state.mapTransformX}