import * as React from 'react'; import { useContext } from 'react'; import { TouchableOpacity, Text, StyleSheet } from 'react-native'; import { ThemeContext } from '../Theme'; import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'; export interface IProps { onPress: () => void; } // Button use in the details screens to copy to clipboard a text. It's just a button text. export const ClipboardButton: React.FC = (props: IProps) => { const theme = useContext(ThemeContext); return ( Copy ); }; export default ClipboardButton; const styles = StyleSheet.create({ container: { flexDirection: 'row', borderLeftWidth: 0, alignItems: 'center', }, });