import React from "react"; import { Text, StyleSheet, StyleProp, TouchableOpacity, ViewStyle, TextStyle, } from "react-native"; import { extractStyles } from "../../utilities"; type Props = { label: string; color: string; style?: StyleProp; onPress?: () => void; activeOpacity?: number; }; const ActionSheetItem: React.FC> = ({ label, style, color, onPress, activeOpacity = 0.7, }) => { const { textStyles, viewStyles } = extractStyles(style); return ( {label} ); }; const styles = StyleSheet.create({ wrapper: { borderBottomWidth: StyleSheet.hairlineWidth, borderBottomColor: "#CCCCCC", backgroundColor: "#F1F1F1", minHeight: 50, overflow: "hidden", display: "flex", justifyContent: "center", }, label: { fontSize: 16, textAlign: "center", color: "#0A84FF", fontWeight: "500", overflow: "hidden", paddingHorizontal: 20, paddingVertical: 10, alignSelf: "center", }, }); export default ActionSheetItem;