1.0.20 • Published 11 months ago

list-view-details v1.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Introduction

Here is an image showcasing the feature:

List View Details

A highly customizable List View Details component for React applications. This package provides an efficient and flexible way to display data in a detailed, organized, and user-friendly list view.

Features

Customizable Layouts: Easily adjust the layout to fit your needs, including customizable list items.

Responsive Design: Fully responsive design ensures a seamless experience on both desktop and mobile devices.

Selection and Actions: Enable item selection and custom actions such as Increment, decrement data.

Theming Support: Easily integrate with your application's theme for a consistent look and feel. Accessibility: Built with accessibility in mind, ensuring that all users can interact with the component effectively. Installation

To install the package, use npm or yarn: import { Item } from 'list-view-details'

Below is example to pass data to plugin.

const data = [

{ id:2, imageUrl: 'https://picsum.photos/200/300/?blur=2', name: 'Item 2', price: '20', }, { id:3, name: 'Item 3', description: 'This is the subheading for item 3.This is the subheading for item 3.This is the subheading for item 3.This is the subheading for item 3.This is the subheading for item 3.This is the subheading for item 3.This is the subheading for item 3.This is the subheading for item 3.This is the subheading for item 3.', price: '120', quantity:0 } ];

{data.map((item, index) => { return <Item imageUrl={item?.imageUrl} name={item?.name} description={item?.description} price={item?.price} quantity={quantitiesindex} onIncrement={() => handleIncrement(index)} onDecrement={() => handleDecrement(index)} addCart={() => handleAddCart(index)} /> }

1.0.20

11 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

11 months ago

1.0.16

11 months ago

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago