<LogoList.Item/> is the item of LogoList and LogoPreviewList components.
Install the component:
npm i @logo-rn/logo-list-item -s
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") }]
} />