Skip to content

Commit 1604d4c

Browse files
committed
removed handleLocationClassNames prop and modified locationClassName on the readme
1 parent d0e3930 commit 1604d4c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ ReactDOM.render(
122122
| map | object | **required** | Describe SVG map to display. See [maps section](#maps) for more details. |
123123
| className | string | `'svg-map'` | CSS class of `<svg>`. |
124124
| 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>`. |
126126
| locationTabIndex | string or function | `'0'` | Tabindex each `<path>`. |
127127
| locationRole | string | `'none'` | ARIA role of each `<path>`. |
128128
| onLocationMouseOver | function | | Invoked when the user puts the mouse over a location. |
@@ -133,7 +133,6 @@ ReactDOM.render(
133133
| onLocationFocus | function | | Invoked when the user focuses a location. |
134134
| onLocationBlur | function | | Invoked when the user unfocuses a location. |
135135
| 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|
137136
| tabIndex | string | `'0'` | **DEPRECATED:** Although this property still works, it has been replaced by `locationTabIndex` and will be removed in next major version. |
138137
| type | string | `'none'` | **DEPRECATED:** Although this property still works, it has been replaced by `locationRole` and will be removed in next major version. |
139138

0 commit comments

Comments
 (0)