react-spinners v0.7.0-alpha.1 Release Notes
-
- 💥 BREAKING CHANGE: all unit props are deprecated, including
sizeUnit
,heightUnit
,widthUnit
, andradiusUnit
. Thesize
,height
,width
, andradius
props now acceptsnumber
andstring
- If value is number, default to
px
- If value is string with valid css unit, return the input value
- If value is string with invalid css unit, output warning console log and default to
px
- If value is number, default to
margin
prop now work the same way as other length props. Can acceptnumber
andstring
- 0️⃣
css
prop default is now""
. No functionality change here
- 💥 BREAKING CHANGE: all unit props are deprecated, including