From 3153c92dcdba2f6755a784534aa0fe6da3a41c5c Mon Sep 17 00:00:00 2001 From: Nikita Gubchenko Date: Sun, 2 Apr 2017 16:23:03 +0300 Subject: [PATCH] Fixed insufficient split of styleNames Currently it is impossible to use delimiters in styleName other than a single space symbol. The change allows to use any whitespace characters, such as a newline character which is handy if you use multiple class names in a single styleName attribute combined with ES6 string literal. --- src/parseStyleName.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parseStyleName.js b/src/parseStyleName.js index 7b5ee55..937b2d6 100644 --- a/src/parseStyleName.js +++ b/src/parseStyleName.js @@ -8,7 +8,7 @@ export default (styleNamePropertyValue: string, allowMultiple: boolean): Array