@logo-rn/logo-list-item

0.2.6 • Public • Published

@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 ↗

Package Sidebar

Install

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

Weekly Downloads

0

Version

0.2.6

License

See license in LICENSE file

Unpacked Size

22.1 kB

Total Files

10

Last publish

Collaborators

  • ahmet.borslan
  • devrim.guner
  • eren.kiraz
  • emine.izmir
  • gamzeyapici
  • serhan.gurbuz