[add] objectFit and objectPosition to style validation

Close #1046
This commit is contained in:
Justine De Caires
2018-07-23 11:02:30 -07:00
committed by Nicolas Gallagher
parent b84e3b938a
commit 2b5ddf753e

View File

@@ -100,6 +100,8 @@ StyleSheetValidation.addValidStylePropTypes({
fill: string,
float: oneOf(['end', 'left', 'none', 'right', 'start']),
listStyle: string,
objectFit: oneOf(['fill', 'contain', 'cover', 'none', 'scale-down']),
objectPosition: string,
pointerEvents: string,
tableLayout: string,
/* @private */