mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
support standard "cssFloat" css property
For tools that compile CSS may have already converted the name. More info: https://npmjs.com/camelcase-css https://npmjs.com/postcss-js
This commit is contained in:
1 parent
5bb4303f9d
commit
f68325f5d7
1 file changed
+1
-1
@@ -185,7 +185,7 @@ var CSSPropertyOperations = {
|
||||
styles[styleName],
|
||||
component
|
||||
);
|
||||
if (styleName === 'float') {
|
||||
if (styleName === 'float' || styleName === 'cssFloat') {
|
||||
styleName = styleFloatAccessor;
|
||||
}
|
||||
if (styleValue) {
|
||||
|
||||
Reference in new issue
Block a user