New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@1productaweek/react-virtualized-grid

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1productaweek/react-virtualized-grid

Grid component, powered by React-Virtualized

latest
npmnpm
Version
0.1.9
Version published
Maintainers
1
Created
Source

React Virtualized Grid

Virtualized grid based on React Virtulalized. Uses @emotion for styling.

Install

yarn add @1productaweek/react-virtualized-grid

Usage

import React from 'react'
import Grid from '@1productaweek/react-virtualized-grid'

const columns = [
  { key: 'id', title: 'ID', editable: true, width: 40, icon: Icon },
  { key: 'title', title: 'Title', editable: true },
  { key: 'complete', title: 'Complete', editable: true, width: 300 },
  { key: 'success', title: 'Success', width: 100 },
  { key: 'started', title: 'Started At', width: 100 },
  { key: 'custom', title: 'Custom', component: () => <div>Custom!</div> },
]

const rows = [
  { id: 10, title: 'Task 1', complete: 20, success: true, started: new Date() },
  { id: 20, title: 'Task 2', complete: 40, success: true },
  { id: 30, title: 'Task 3', complete: 60, success: false },
  { id: 40, title: 'Task 4', complete: 20, success: true },
]

export default function Container () {
  return (
      <Grid
        columns={columns}
        rowCount={rows.length}
        rowGetter={i => rows[i]}
      />
  )
}

Demo

https://react-virtualized-grid.netlify.app

Made by 1PAW

https://1productaweek.com

  • |- Ralley - queue as a service
  • |- Snapboard - hackable dashboard

FAQs

Package last updated on 20 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts