Commit 1a493a6a authored by Robert Knight's avatar Robert Knight

Fix a mistake in the docs for `onActivate`

parent da0d5f45
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* @param {string} role - ARIA role for the item * @param {string} role - ARIA role for the item
* @param {Function} handler - Event handler * @param {Function} handler - Event handler
* @return {Object} Props to spread into a DOM element * @return {Object} Props to spread into a React element
*/ */
function onActivate(role, handler) { function onActivate(role, handler) {
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment