poly-style
poly-filling CSS attributes, for react style objects.
Updated for React v15. Poly-filling is now happening after attribute checking in the browser runtime. Only needed attributes are added.
example
var polyStyle = ;var styleObj =;//...<div style=styleObj>//...</div>/*> styleObj{// if in IE for exampledisplay: '-ms-flexbox',flexDirection: 'column',msFlexDirection: 'column'}*/
Attributes supported
- display: 'flex'
- flex
- order
- flex-direction
- align-items
- justify-content
- flex-wrap
- transform
- user-select