From 1604d4c128b57ebfbcf7947550f1daaa8d86d14c Mon Sep 17 00:00:00 2001 From: Ramon Rios Date: Tue, 9 Apr 2019 22:12:52 -0500 Subject: [PATCH] removed handleLocationClassNames prop and modified locationClassName on the readme --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index d8e97aa..3a8f781 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ ReactDOM.render( | map | object | **required** | Describe SVG map to display. See [maps section](#maps) for more details. | | className | string | `'svg-map'` | CSS class of ``. | | role | string | `'none'` | ARIA role of ``. | -| locationClassName | string | `'svg-map__location'` | CSS class of each ``. | +| locationClassName | string or function | `'svg-map__location'` | CSS class of each ``. | | locationTabIndex | string or function | `'0'` | Tabindex each ``. | | locationRole | string | `'none'` | ARIA role of each ``. | | onLocationMouseOver | function | | Invoked when the user puts the mouse over a location. | @@ -133,7 +133,6 @@ ReactDOM.render( | onLocationFocus | function | | Invoked when the user focuses a location. | | onLocationBlur | function | | Invoked when the user unfocuses a location. | | isLocationSelected | function | | Executed to determine if a location is selected. This property is used to set the `aria-checked` HTML attribute. | -| handleLocationClasses | function | | Adds user and context specific classes to the className property of individual locations| | tabIndex | string | `'0'` | **DEPRECATED:** Although this property still works, it has been replaced by `locationTabIndex` and will be removed in next major version. | | type | string | `'none'` | **DEPRECATED:** Although this property still works, it has been replaced by `locationRole` and will be removed in next major version. |