Card.js 431 B

123456789101112131415161718192021222324
  1. /*
  2. ! Dont Use
  3. */
  4. import { StyleSheet, Text, View, TouchableOpacity} from 'react-native'
  5. import React from 'react'
  6. import metrics from '../../theme/metrics'
  7. const Card = ({style,onPress,children}) => {
  8. return (
  9. <TouchableOpacity style={[styles.cardContainer,style]} onPress={onPress}>
  10. {children}
  11. </TouchableOpacity>
  12. )
  13. }
  14. export default Card
  15. const styles = StyleSheet.create({
  16. cardContainer:{
  17. }
  18. })