react-native-tab-view
Version:
Tab view component for React Native
20 lines (19 loc) • 529 B
TypeScript
import * as React from 'react';
import { StyleProp, ViewStyle, ViewProps } from 'react-native';
declare type Props = ViewProps & {
onPress: () => void;
onLongPress?: () => void;
delayPressIn?: number;
borderless?: boolean;
pressColor: string;
pressOpacity?: number;
children?: React.ReactNode;
style?: StyleProp<ViewStyle>;
};
export default class TouchableItem extends React.Component<Props> {
static defaultProps: {
pressColor: string;
};
render(): JSX.Element;
}
export {};