UNPKG

react-native-global-modal-2

Version:

🌍 Global modal and callable from anywhere on the app for React Native

13 lines 495 B
import React from "react"; import { Pressable, Text } from "react-native"; /** * ? Local Imports */ import styles from "./OutlineButton.style"; const OutlineButton = ({ text, onPress, style, textStyle, TouchableComponent = Pressable, }) => { return (<TouchableComponent style={[styles.container, style]} onPress={onPress}> <Text style={[styles.textStyle, textStyle]}>{text}</Text> </TouchableComponent>); }; export default OutlineButton; //# sourceMappingURL=OutlineButton.js.map