@logo-rn/logo-preview-list

0.2.3 • Public • Published

@logo-rn/logo-preview-list

is which is used to display a certain portion of list data.

npm version

Installation

Install the component:

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

Usage

Once installed, import the component in your application:

import { LogoPreviewList } from '@logo-rn/logo-preview-list';
import { LogoPreviewList } from '@logo-rn/logo-preview-list';
//..

const items: ItemsProps = {
  columnProperties: [
    {
      displaytype: 'CheckboxColumn',
      id: '0',
    },
    {
      displaytype: 'DataColumn',
      id: '1',
      titleColumn: true,
    }
  ],
  rows: [
    [
      { value: 'unchecked' },
      { value: 'Name Surname' },
      { value: '32' }
    ],
    [
      { value: 'unchecked' },
      { value: 'Name Surname' }
    ],
    [
      { value: 'unchecked' },
      { value: 'Name Surname' }
    ],
  ],
};
//..
<LogoPreviewList
  renderItem={(item: any) => renderListItem(item, items, renderMoreActions)}
  items={items.rows}
/>

For more detailed information, please visit:

Logo Elements Documentation ↗

Package Sidebar

Install

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

Weekly Downloads

1

Version

0.2.3

License

See license in LICENSE file

Unpacked Size

12.9 kB

Total Files

6

Last publish

Collaborators

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