I supposed that react parameter gridRowStart will be translated to grid-row-start, same as zIndex is translated to z-index. But it does not work, do you have any idea why?
My render method:
render() {
var divStyle = {
background: '#92f442',
gridRowStart: 1,
zIndex: 2
};
return (
<div style={divStyle}>
</div>
)};
unfortunately in chrome i the element has only 2 attributes
<div style="background: rgb(146, 244, 66); z-index: 2;"></div>
What's more, I've tried to use attibutes from React doc https://facebook.github.io/react/tips/style-props-value-px.html unfortunately not all attributes are visible:
RENDERED ATTRIBUTES:
- columnCount,fillOpacity, flex, stopOpacity, strokeDashoffset, strokeOpacity, strokeWidth, tabSize, widows, zIndex, zoom, lineHeight, opacity, columnCount, fillOpacity, flex, animationIterationCount
NOT RENDERED:
- columnCount, boxFlex, boxFlexGroup, boxOrdinalGroup, flexGrow, flexPositive, flexShrink, flexNegative, flexOrder, fontWeight, lineClamp, order, orphans
Other attributes like 'example' or 'whatever' attribute are omitted as well.