mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 09:29:07 +08:00
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:
committed by
Facebook Github Bot
parent
b2179ebedf
commit
b053fd5bdd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user