RN: Fix Type of accessibilityLabel in <Image>

Summary: Fixes the prop type of `accessibilityLabel` in `<Image>` so that it matches that of `<View>`.

Reviewed By: fkgozali

Differential Revision: D4499103

fbshipit-source-id: 66bf3dce60bd79857849e0c46c989e7866d83d81
This commit is contained in:
Tim Yung 2017-02-02 22:10:35 -08:00 committed by Facebook Github Bot
parent b2179ebedf
commit b053fd5bdd

View File

@ -178,7 +178,7 @@ const Image = React.createClass({
* the image.
* @platform ios
*/
accessibilityLabel: PropTypes.string,
accessibilityLabel: PropTypes.node,
/**
* blurRadius: the blur radius of the blur filter added to the image
* @platform ios