[change] allow 'display' in ViewStylePropTypes

Fix #296
This commit is contained in:
Nicolas Gallagher
2017-01-07 18:15:13 -08:00
parent 0696721488
commit 91032d8565
+2 -1
View File
@@ -27,12 +27,13 @@ module.exports = process.env.NODE_ENV !== 'production' ? {
backgroundAttachment: string, backgroundAttachment: string,
backgroundClip: string, backgroundClip: string,
backgroundImage: string, backgroundImage: string,
backgroundPosition: string,
backgroundOrigin: oneOf([ 'border-box', 'content-box', 'padding-box' ]), backgroundOrigin: oneOf([ 'border-box', 'content-box', 'padding-box' ]),
backgroundPosition: string,
backgroundRepeat: string, backgroundRepeat: string,
backgroundSize: string, backgroundSize: string,
boxShadow: string, boxShadow: string,
cursor: string, cursor: string,
display: string,
outline: string, outline: string,
overflowX: autoOrHiddenOrVisible, overflowX: autoOrHiddenOrVisible,
overflowY: autoOrHiddenOrVisible, overflowY: autoOrHiddenOrVisible,