Skip to content

Instantly share code, notes, and snippets.

View vinayaknagpal's full-sized avatar

Vinayak Nagpal vinayaknagpal

  • Zendar
  • Berkeley CA
View GitHub Profile
@bvaughn
bvaughn / gist:3a358dda3654e1e93fba35890a093c19
Created May 14, 2016 20:20
Example Grid with columns and rows, built using :cellRangeRenderer (with react-virtualized 7.x)
/** @flow */
import Immutable from 'immutable'
import React, { Component, PropTypes } from 'react'
import { ContentBox, ContentBoxHeader, ContentBoxParagraph } from '../demo/ContentBox'
import { LabeledInput, InputRow } from '../demo/LabeledInput'
import AutoSizer from '../AutoSizer'
import Grid from './Grid'
import shallowCompare from 'react-addons-shallow-compare'
import cn from 'classnames'
import styles from './Grid.example.css'