Copy and Paste  -   An Application to Copy/Paste Text  

 
S.No 5798 Name Jask Date/Time 25-Sep-2023 01:59:04 PM

Copy text from below

import React from 'react';

import { View, Text, FlatList, StyleSheet } from 'react-native';

 

const persons = [

  { name: 'Ali', age: 33, city: 'Karachi' },

  { name: 'Faisal', age: 20, city: 'Lahore' },

  { name: 'Noman', age: 53, city: 'Karachi' },

];

 

const PersonList = () => {

  const renderItem = ({ item }) => (

    <View style={styles.personItem}>

      <Text>Name: {item.name}</Text>

      <Text>Age: {item.age}</Text>

      <Text>City: {item.city}</Text>

    </View>

  );

 

  return (

    <FlatList

      data={persons}

      renderItem={renderItem}

      keyExtractor={(item, index) => index.toString()}

    />

  );

};

 

const styles = StyleSheet.create({

  personItem: {

    padding: 16,

    borderBottomWidth: 1,

    borderBottomColor: '#ccc',

  },

});

 

export default PersonList;

 





comments powered by Disqus
NEW ENTRIES
S.No Name Entry Time/Date
5989 landscape 12-Jul-2024 04:02:16 PM
5988 aaa 12-Jul-2024 09:32:46 AM
5987 Emi Pet Mobi 11-Jul-2024 10:29:07 AM
5986 snake 11-Jul-2024 08:24:29 AM
5985 player 10-Jul-2024 02:00:49 PM
5984 movement 10-Jul-2024 08:52:29 AM
5983 snake 10-Jul-2024 08:50:12 AM
5982 af 09-Jul-2024 09:24:28 AM
5981 aa 08-Jul-2024 10:55:34 PM
5980 flu1 08-Jul-2024 04:02:35 PM
5979 flu 08-Jul-2024 03:58:49 PM
5978 Emi Pet | Po 08-Jul-2024 03:40:03 PM
5977 Empire Home 07-Jul-2024 08:31:42 AM
5976 Empire Meals 05-Jul-2024 11:37:32 AM
5975 prb 05-Jul-2024 09:07:27 AM
5974 Vital Eagles 03-Jul-2024 09:09:55 AM
5973 C34 02-Jul-2024 03:07:34 PM
5972 C33 02-Jul-2024 02:32:40 PM
5971 Vital Inc. 02-Jul-2024 07:55:25 AM
5970 container 01-Jul-2024 03:06:18 PM
5969 new 01-Jul-2024 12:48:17 PM
5968 360 Modular 29-Jun-2024 03:16:17 PM
5967 quiz 28-Jun-2024 08:10:48 PM
5966 gesture 28-Jun-2024 07:56:05 PM
5965 Garden Distr 28-Jun-2024 09:34:32 AM
5964 Child Sexy 27-Jun-2024 10:29:38 AM
5963 error 24-Jun-2024 04:48:13 PM
5962 senddata 24-Jun-2024 02:17:52 PM
5961 phpflutter 23-Jun-2024 10:43:04 AM
5960 Tiki Grip & 22-Jun-2024 03:11:17 PM

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 [Next] [Last]
 
web counter
web counter


To report any error messages or bugs, or other issues, please send email at: info@pakproject.com