0.2.6 • Published 2 months ago

@logo-rn/logo-list-item v0.2.6

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
2 months ago

@logo-rn/logo-list-item

<LogoList.Item/> is the item of LogoList and LogoPreviewList components.

npm version

Installation

Install the component:

npm i @logo-rn/logo-list-item -s

Usage

Once installed, import the component in your application:

import {LogoList.Item} from '@logo-rn/logo-list-item';
const items: ItemsProps = {
   columnProperties: [
     {
       displaytype: "DataColumn",
       id: "1",
       titleColumn: true
     },
     {
       displaytype: "NumericColumn",
       id: "2"
     },
   ],
   rows: [
     [
       { value: "Ahmet Borslan" },
       { value: "22" },
     ],
     [
       { value: "Devrim Güner" },
       { value: "21" },
     ]
   ]
 }
//..
   <LogoList.Item item={items}
     columnProperties={items.columnProperties}
     iconStackRowAvailable={true}
     iconStack={[]}
     swipeActions={
       [{ type: "Decline", onPress: () => Alert.alert("alert") }]
     } />  

For more detailed information, please visit:

Logo Elements Documentation ↗