brigand / react-style-proptype

Validates style objects by ensuring the keys are valid css property names (in camelcase form).
MIT License
58 stars 11 forks source link

Fix list of supported properties #1

Closed brigand closed 8 years ago

brigand commented 8 years ago

At least flex properties are missing.

brigand commented 8 years ago

@radubrehar I updated it to use mdn's list of css properties, and naively supports vendor prefixes for all properties.

dweldon commented 8 years ago

Am I crazy or is this list missing fontWeight?

brigand commented 8 years ago

Nope, definitely not crazy. I'll fix it.

brigand commented 8 years ago

Looks like a lot of stuff has changed on mdn. I updated the full list. Published as 1.2.0.

dweldon commented 8 years ago

Thanks for the quick fix! This is a really useful package now that react/forbid-prop-types is in common use.