mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Remove RN fiber createClass wrapper around View
Reviewed By: spicyj Differential Revision: D5241527 fbshipit-source-id: 9209004544e83cc0f03fcaa27c9b1acf8db09930
This commit is contained in:
committed by
Facebook Github Bot
parent
31e1f37314
commit
119959252e
@@ -12,12 +12,11 @@
|
||||
'use strict';
|
||||
|
||||
const Image = require('Image');
|
||||
const React = require('React');
|
||||
const PropTypes = require('prop-types');
|
||||
const React = require('React');
|
||||
const Text = require('Text');
|
||||
const TouchableHighlight = require('TouchableHighlight');
|
||||
const View = require('View');
|
||||
|
||||
const ViewPropTypes = require('ViewPropTypes');
|
||||
|
||||
import type {ImageSource} from 'ImageSource';
|
||||
@@ -31,12 +30,12 @@ class SwipeableQuickActionButton extends React.Component {
|
||||
props: {
|
||||
accessibilityLabel?: string,
|
||||
imageSource: ImageSource | number,
|
||||
imageStyle?: ?View.propTypes.style,
|
||||
imageStyle?: ?ViewPropTypes.style,
|
||||
onPress?: Function,
|
||||
style?: ?View.propTypes.style,
|
||||
style?: ?ViewPropTypes.style,
|
||||
testID?: string,
|
||||
text?: ?(string | Object | Array<string | Object>),
|
||||
textStyle?: ?View.propTypes.style,
|
||||
textStyle?: ?ViewPropTypes.style,
|
||||
};
|
||||
|
||||
static propTypes = {
|
||||
|
||||
Reference in New Issue
Block a user