fix FlowFixMe in SwipeableQuickActionButton

Reviewed By: fred2028

Differential Revision: D4061448

fbshipit-source-id: 255ae39a16d89d89bbd7fac3bc1dd5350a578d0c
This commit is contained in:
Fada Chen 2016-10-24 09:44:49 -07:00 committed by Facebook Github Bot
parent b68790cd57
commit fc6eb51996
1 changed files with 7 additions and 5 deletions

View File

@ -31,6 +31,8 @@ const View = require('View');
const {PropTypes} = React;
import type {ImageSource} from 'ImageSource';
/**
* Standard set of quick action buttons that can, if the user chooses, be used
* with SwipeableListView. Each button takes an image and text with optional
@ -39,13 +41,13 @@ const {PropTypes} = React;
class SwipeableQuickActionButton extends React.Component {
props: {
accessibilityLabel?: string,
imageSource: $FlowFixMe,
imageStyle?: $FlowFixMe,
imageSource: ImageSource | number,
imageStyle?: ?View.propTypes.style,
onPress?: Function,
style?: $FlowFixMe,
style?: ?View.propTypes.style,
testID?: string,
text?: string,
textStyle?: $FlowFixMe,
text?: ?(string | Object | Array<string | Object>),
textStyle?: ?View.propTypes.style,
};
static propTypes = {