# dynamic-grid-layout

> A dynamic grid layout, inspiration from Pinterest

Latest version **1.0.2** (published 2022-11-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install dynamic-grid-layout
pnpm add dynamic-grid-layout
yarn add dynamic-grid-layout
bun add dynamic-grid-layout
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-11-24 |
| First published | 2022-11-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 19.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | maiducthang |
| Maintainers | maiducthang279 |

## Links

- npm: https://www.npmjs.com/package/dynamic-grid-layout
- Repository: https://github.com/maiducthang279/dynamic-grid-layout
- Homepage: https://maiducthang279.github.io/dynamic-grid-layout
- Issues: https://github.com/maiducthang279/dynamic-grid-layout/issues
- npm.io page: https://npm.io/package/dynamic-grid-layout

## Recent versions

- 1.0.2 (latest) — 2022-11-24
- 1.0.1 — 2022-11-21
- 1.0.0 — 2022-11-21

## README

# dynamic-grid-layout

> A dynamic grid layout, inspiration from Pinterest

[![NPM](https://img.shields.io/npm/v/dynamic-grid-layout.svg)](https://www.npmjs.com/package/dynamic-grid-layout) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save dynamic-grid-layout
```

## Usage

```tsx
import React, { Component } from 'react'

import { GridView } from 'dynamic-grid-layout'
import 'dynamic-grid-layout/dist/index.css'

const Item = ({ item }: any) => <p>{item}</p>

const Example = () => {
  const items = ['item1', 'item2']
  return (
    <GridView
      items={items}
      renderItem={(item: any) => <Item item={item}></Item>}
    />
  )
}
```

## License

MIT © [](https://github.com/)

---
_Source: https://npm.io/package/dynamic-grid-layout · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
