@logo-rn/logo-list-item
v0.2.6
Published
<LogoList.Item/> is the item of LogoList and LogoPreviewList components.
Downloads
24
Readme
@logo-rn/logo-list-item
<LogoList.Item/> is the item of LogoList and LogoPreviewList components.
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") }]
} />