Skip to content

Commit

Permalink
Converting autofocus to autoFocus cameCased
Browse files Browse the repository at this point in the history
  • Loading branch information
kostasx authored and Daniel15 committed Feb 5, 2022
1 parent 3b14406 commit b915f5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/htmltojsx.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ var ATTRIBUTE_MAPPING = {
var ELEMENT_ATTRIBUTE_MAPPING = {
'input': {
'checked': 'defaultChecked',
'value': 'defaultValue'
'value': 'defaultValue',
'autofocus': 'autoFocus'
}
};

Expand Down

0 comments on commit b915f5a

Please sign in to comment.