From 1d52e8f1975e92033f62988a98cef4c6a32efac7 Mon Sep 17 00:00:00 2001 From: Hung Viet Nguyen Date: Wed, 22 Nov 2017 10:10:43 +0700 Subject: [PATCH] Added onclick=> onClick to ATTRIBUTE_MAPPING --- src/htmltojsx.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/htmltojsx.js b/src/htmltojsx.js index 3e3ec5d..95b5414 100644 --- a/src/htmltojsx.js +++ b/src/htmltojsx.js @@ -26,6 +26,7 @@ var NODE_TYPE = { var ATTRIBUTE_MAPPING = { 'for': 'htmlFor', 'class': 'className' + 'onclick': 'onClick' }; var ELEMENT_ATTRIBUTE_MAPPING = {