Skip to content

Commit 7f75bd8

Browse files
committed
fix(attributes-to-props): improve jsdoc documentation
1 parent d18c557 commit 7f75bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/attributes-to-props.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var utilities = require('./utilities');
55
* Converts HTML/SVG DOM attributes to React props.
66
*
77
* @param {object} [attributes={}] - HTML/SVG DOM attributes.
8-
* @param {string} [nodeName] - DOM node.
8+
* @param {string} [nodeName] - DOM node name. Help's to have smarter behavior while converting DOM attributes to props.
99
* @returns - React props.
1010
*/
1111
module.exports = function attributesToProps(attributes, nodeName) {

0 commit comments

Comments
 (0)