react-native-global-modal-2
Version:
🌍 Global modal and callable from anywhere on the app for React Native
12 lines (11 loc) • 339 B
TypeScript
import React from "react";
import { StyleProp, ViewStyle, TextStyle } from "react-native";
export interface ButtonProps {
text?: string;
onPress?: () => void;
style?: StyleProp<ViewStyle>;
textStyle?: StyleProp<TextStyle>;
TouchableComponent?: any;
}
declare const Button: React.FC<ButtonProps>;
export default Button;