You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ ReactDOM.render(
122
122
| map | object |**required**| Describe SVG map to display. See [maps section](#maps) for more details. |
123
123
| className | string |`'svg-map'`| CSS class of `<svg>`. |
124
124
| role | string |`'none'`| ARIA role of `<svg>`. |
125
-
| locationClassName | string |`'svg-map__location'`| CSS class of each `<path>`. |
125
+
| locationClassName | string or function |`'svg-map__location'`| CSS class of each `<path>`. |
126
126
| locationTabIndex | string or function |`'0'`| Tabindex each `<path>`. |
127
127
| locationRole | string |`'none'`| ARIA role of each `<path>`. |
128
128
| onLocationMouseOver | function || Invoked when the user puts the mouse over a location. |
@@ -133,7 +133,6 @@ ReactDOM.render(
133
133
| onLocationFocus | function || Invoked when the user focuses a location. |
134
134
| onLocationBlur | function || Invoked when the user unfocuses a location. |
135
135
| isLocationSelected | function || Executed to determine if a location is selected. This property is used to set the `aria-checked` HTML attribute. |
136
-
| handleLocationClasses | function || Adds user and context specific classes to the className property of individual locations|
137
136
| tabIndex | string |`'0'`|**DEPRECATED:** Although this property still works, it has been replaced by `locationTabIndex` and will be removed in next major version. |
138
137
| type | string |`'none'`|**DEPRECATED:** Although this property still works, it has been replaced by `locationRole` and will be removed in next major version. |
0 commit comments