Skip to content

Commit a41ff48

Browse files
skipjackwuweiweiwu
authored andcommitted
docs(CellMeasurer): fix import statement (bvaughn#1187)
The `Grid` component isn't used in this example, it was probably a remnant of copy-pasting or something.
1 parent 0e8bb87 commit a41ff48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CellMeasurer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ To support this, a function-child is passed to `CellMeasurer` which then receive
116116

117117
```jsx
118118
import React from 'react';
119-
import { CellMeasurer, CellMeasurerCache, Grid } from 'react-virtualized';
119+
import { CellMeasurer, CellMeasurerCache, List } from 'react-virtualized';
120120

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

0 commit comments

Comments
 (0)