|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`renders correctly 1`] = ` |
| 3 | +exports[`grid list renders correctly 1`] = ` |
| 4 | +<FlatList |
| 5 | + ItemSeparatorComponent={[Function]} |
| 6 | + animationDuration={500} |
| 7 | + contentContainerStyle={false} |
| 8 | + data={ |
| 9 | + Array [ |
| 10 | + Object { |
| 11 | + "id": 1, |
| 12 | + "thumbnail": Object { |
| 13 | + "uri": "https://...", |
| 14 | + }, |
| 15 | + }, |
| 16 | + Object { |
| 17 | + "id": 2, |
| 18 | + "thumbnail": Object { |
| 19 | + "uri": "https://...", |
| 20 | + }, |
| 21 | + }, |
| 22 | + ] |
| 23 | + } |
| 24 | + disableVirtualization={false} |
| 25 | + horizontal={false} |
| 26 | + initialNumToRender={10} |
| 27 | + itemStyle={Object {}} |
| 28 | + keyExtractor={[Function]} |
| 29 | + maxToRenderPerBatch={10} |
| 30 | + numColumns={3} |
| 31 | + onEndReachedThreshold={2} |
| 32 | + renderItem={[Function]} |
| 33 | + scrollEventThrottle={50} |
| 34 | + showAnimation={false} |
| 35 | + showsVerticalScrollIndicator={false} |
| 36 | + updateCellsBatchingPeriod={50} |
| 37 | + windowSize={21} |
| 38 | +/> |
| 39 | +`; |
| 40 | + |
| 41 | +exports[`grid list renders showAnimation 1`] = ` |
| 42 | +<FlatList |
| 43 | + ItemSeparatorComponent={[Function]} |
| 44 | + animationDuration={500} |
| 45 | + contentContainerStyle={ |
| 46 | + Object { |
| 47 | + "borderBottomWidth": 5, |
| 48 | + "borderColor": "#FFFFFF", |
| 49 | + "borderTopWidth": 5, |
| 50 | + } |
| 51 | + } |
| 52 | + data={ |
| 53 | + Array [ |
| 54 | + Object { |
| 55 | + "id": 1, |
| 56 | + "thumbnail": Object { |
| 57 | + "uri": "https://...", |
| 58 | + }, |
| 59 | + }, |
| 60 | + Object { |
| 61 | + "id": 2, |
| 62 | + "thumbnail": Object { |
| 63 | + "uri": "https://...", |
| 64 | + }, |
| 65 | + }, |
| 66 | + ] |
| 67 | + } |
| 68 | + disableVirtualization={false} |
| 69 | + horizontal={false} |
| 70 | + initialNumToRender={10} |
| 71 | + itemStyle={Object {}} |
| 72 | + keyExtractor={[Function]} |
| 73 | + maxToRenderPerBatch={10} |
| 74 | + numColumns={3} |
| 75 | + onEndReachedThreshold={2} |
| 76 | + renderItem={[Function]} |
| 77 | + scrollEventThrottle={50} |
| 78 | + showAnimation={true} |
| 79 | + showsVerticalScrollIndicator={false} |
| 80 | + updateCellsBatchingPeriod={50} |
| 81 | + windowSize={21} |
| 82 | +/> |
| 83 | +`; |
| 84 | + |
| 85 | +exports[`grid list renders showSeparator 1`] = ` |
4 | 86 | <FlatList |
5 | 87 | ItemSeparatorComponent={[Function]} |
6 | 88 | animationDuration={500} |
|
0 commit comments