|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP |
2 | 2 |
|
3 | | -exports[`Bottom sheet renders a custom bottom action sheet for ios (Basic modal) with custom style 1`] = `null`; |
| 3 | +exports[`Bottom sheet renders a custom bottom action sheet for ios (Basic modal) with custom style 1`] = ` |
| 4 | +<View |
| 5 | + onLayout={[Function]} |
| 6 | + style={ |
| 7 | + [ |
| 8 | + { |
| 9 | + "left": 0, |
| 10 | + "opacity": 0, |
| 11 | + "pointerEvents": "none", |
| 12 | + "position": "absolute", |
| 13 | + "top": -10000, |
| 14 | + }, |
| 15 | + { |
| 16 | + "width": 750, |
| 17 | + }, |
| 18 | + ] |
| 19 | + } |
| 20 | +> |
| 21 | + <View |
| 22 | + accessibilityValue={ |
| 23 | + { |
| 24 | + "max": undefined, |
| 25 | + "min": undefined, |
| 26 | + "now": undefined, |
| 27 | + "text": undefined, |
| 28 | + } |
| 29 | + } |
| 30 | + accessible={true} |
| 31 | + focusable={true} |
| 32 | + onClick={[Function]} |
| 33 | + onResponderGrant={[Function]} |
| 34 | + onResponderMove={[Function]} |
| 35 | + onResponderRelease={[Function]} |
| 36 | + onResponderTerminate={[Function]} |
| 37 | + onResponderTerminationRequest={[Function]} |
| 38 | + onStartShouldSetResponder={[Function]} |
| 39 | + > |
| 40 | + <View |
| 41 | + style={ |
| 42 | + [ |
| 43 | + { |
| 44 | + "flex": 1, |
| 45 | + "paddingHorizontal": 16, |
| 46 | + }, |
| 47 | + [ |
| 48 | + { |
| 49 | + "paddingVertical": 12, |
| 50 | + "textAlign": "center", |
| 51 | + }, |
| 52 | + {}, |
| 53 | + ], |
| 54 | + ] |
| 55 | + } |
| 56 | + > |
| 57 | + <Text |
| 58 | + style={ |
| 59 | + { |
| 60 | + "color": "red", |
| 61 | + "fontSize": 60, |
| 62 | + } |
| 63 | + } |
| 64 | + > |
| 65 | + Item 1 |
| 66 | + </Text> |
| 67 | + </View> |
| 68 | + </View> |
| 69 | + <View |
| 70 | + accessibilityValue={ |
| 71 | + { |
| 72 | + "max": undefined, |
| 73 | + "min": undefined, |
| 74 | + "now": undefined, |
| 75 | + "text": undefined, |
| 76 | + } |
| 77 | + } |
| 78 | + accessible={true} |
| 79 | + focusable={true} |
| 80 | + onClick={[Function]} |
| 81 | + onResponderGrant={[Function]} |
| 82 | + onResponderMove={[Function]} |
| 83 | + onResponderRelease={[Function]} |
| 84 | + onResponderTerminate={[Function]} |
| 85 | + onResponderTerminationRequest={[Function]} |
| 86 | + onStartShouldSetResponder={[Function]} |
| 87 | + > |
| 88 | + <View |
| 89 | + style={ |
| 90 | + [ |
| 91 | + { |
| 92 | + "flex": 1, |
| 93 | + "paddingHorizontal": 16, |
| 94 | + }, |
| 95 | + [ |
| 96 | + { |
| 97 | + "paddingVertical": 12, |
| 98 | + "textAlign": "center", |
| 99 | + }, |
| 100 | + {}, |
| 101 | + ], |
| 102 | + ] |
| 103 | + } |
| 104 | + > |
| 105 | + <Text |
| 106 | + style={ |
| 107 | + { |
| 108 | + "color": "red", |
| 109 | + "fontSize": 60, |
| 110 | + } |
| 111 | + } |
| 112 | + > |
| 113 | + Item 2 |
| 114 | + </Text> |
| 115 | + </View> |
| 116 | + </View> |
| 117 | +</View> |
| 118 | +`; |
4 | 119 |
|
5 | | -exports[`Bottom sheet renders a custom modal 1`] = `null`; |
| 120 | +exports[`Bottom sheet renders a custom modal 1`] = ` |
| 121 | +<View |
| 122 | + onLayout={[Function]} |
| 123 | + style={ |
| 124 | + [ |
| 125 | + { |
| 126 | + "left": 0, |
| 127 | + "opacity": 0, |
| 128 | + "pointerEvents": "none", |
| 129 | + "position": "absolute", |
| 130 | + "top": -10000, |
| 131 | + }, |
| 132 | + { |
| 133 | + "width": 750, |
| 134 | + }, |
| 135 | + ] |
| 136 | + } |
| 137 | +> |
| 138 | + <Text /> |
| 139 | +</View> |
| 140 | +`; |
6 | 141 |
|
7 | 142 | exports[`Bottom sheet renders a expanding 1`] = ` |
8 | 143 | <View |
|
0 commit comments