Skip to content

Commit

Permalink
docs(CellMeasurer): fix import statement (#1187)
Browse files Browse the repository at this point in the history
The `Grid` component isn't used in this example, it was probably a remnant
of copy-pasting or something.
  • Loading branch information
skipjack authored and wuweiweiwu committed Aug 31, 2018
1 parent 0e8bb87 commit a41ff48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/CellMeasurer.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ To support this, a function-child is passed to `CellMeasurer` which then receive

```jsx
import React from 'react';
import { CellMeasurer, CellMeasurerCache, Grid } from 'react-virtualized';
import { CellMeasurer, CellMeasurerCache, List } from 'react-virtualized';

// In this example, average cell height is assumed to be about 50px.
// This value will be used for the initial `Grid` layout.
Expand Down

0 comments on commit a41ff48

Please sign in to comment.