@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
18 lines (17 loc) • 523 B
TypeScript
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { FlexItemPropsType } from './PropsType';
export interface FlexItemProps extends FlexItemPropsType {
flex?: number;
onPress?: () => void;
onLongPress?: () => void;
onPressIn?: () => void;
onPressOut?: () => void;
style?: StyleProp<ViewStyle>;
}
export default class FlexItem extends React.Component<FlexItemProps, any> {
static defaultProps: {
flex: number;
};
render(): React.JSX.Element;
}