@alexkang/react-native-dev-tools
Version:
React & React native dev tools.
11 lines (10 loc) • 404 B
TypeScript
import React from 'react';
import { GestureResponderEvent, TextStyle, ViewStyle } from 'react-native';
interface Props {
style?: ViewStyle;
textStyle?: TextStyle;
children?: JSX.Element | React.Component | String;
onPress: (event: GestureResponderEvent) => void;
}
declare const Button: ({ style, children, textStyle, onPress, ...etcProps }: Props) => JSX.Element;
export default Button;