Skip to content

Commit c1df499

Browse files
authored
Update README.md
removing imports for brevity
1 parent 5c134ed commit c1df499

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ npm i react-virtualized-cssgrid
1717
### Functional Stateless Component
1818

1919
```js
20-
import React from 'react';
21-
import VirtualizedCSSGrid from 'react-virtualized-cssgrid';
22-
2320
function MyList({ items }) {
2421
return (
2522
<VirtualizedCSSGrid containerWidth={1080} rowHeight={240} columnWidth={360} columns={3} listLength={items.length}>
@@ -34,9 +31,6 @@ function MyList({ items }) {
3431
### Functional Stateless Component
3532

3633
```js
37-
import React from 'react';
38-
import VirtualizedCSSGrid from 'react-virtualized-cssgrid';
39-
4034
class List extends Component {
4135
render() {
4236
return (

0 commit comments

Comments
 (0)