forgeplus-react/node_modules/react-virtualized/dist/es/Collection/TestData.js

70 lines
830 B
JavaScript
Raw Normal View History

2023-07-29 21:19:10 +08:00
/*
0 1 2 3 4 5
00 01 36 6
10 02 36 6
24 44 37 8
34 44 59 9
Sections to Cells map:
0.0 [0]
1.0 [1, 2, 3]
2.0 [6]
0.1 [4]
1.1 [3, 4, 5]
2.1 [7, 8, 9]
*/
export var CELLS = [{
x: 0,
y: 0,
width: 2,
height: 2
}, {
x: 2,
y: 0,
width: 1,
height: 1
}, {
x: 2,
y: 1,
width: 1,
height: 1
}, {
x: 3,
y: 0,
width: 1,
height: 3
}, {
x: 0,
y: 2,
width: 3,
height: 2
}, {
x: 3,
y: 3,
width: 1,
height: 1
}, {
x: 4,
y: 0,
width: 2,
height: 2
}, {
x: 4,
y: 2,
width: 1,
height: 1
}, {
x: 5,
y: 2,
width: 1,
height: 1
}, {
x: 4,
y: 3,
width: 2,
height: 1
}];
export var SECTION_SIZE = 2;