|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`Tooltip component tests Tooltip default 1`] = ` |
| 4 | +<RCTTooltip |
| 5 | + content="Your component" |
| 6 | +> |
| 7 | + <View |
| 8 | + accessibilityLabel="Your component" |
| 9 | + accessibilityRole="button" |
| 10 | + accessibilityState={ |
| 11 | + { |
| 12 | + "busy": undefined, |
| 13 | + "checked": undefined, |
| 14 | + "disabled": false, |
| 15 | + "expanded": undefined, |
| 16 | + "multiselectable": undefined, |
| 17 | + "required": undefined, |
| 18 | + "selected": undefined, |
| 19 | + } |
| 20 | + } |
| 21 | + accessibilityValue={ |
| 22 | + { |
| 23 | + "max": undefined, |
| 24 | + "min": undefined, |
| 25 | + "now": undefined, |
| 26 | + "text": undefined, |
| 27 | + } |
| 28 | + } |
| 29 | + accessible={true} |
| 30 | + enableFocusRing={true} |
| 31 | + focusable={true} |
| 32 | + keyUpEvents={ |
| 33 | + [ |
| 34 | + { |
| 35 | + "key": " ", |
| 36 | + }, |
| 37 | + { |
| 38 | + "key": "Enter", |
| 39 | + }, |
| 40 | + ] |
| 41 | + } |
| 42 | + onBlur={[Function]} |
| 43 | + onClick={[Function]} |
| 44 | + onFocus={[Function]} |
| 45 | + onKeyDown={[Function]} |
| 46 | + onKeyUp={[Function]} |
| 47 | + onLayout={[Function]} |
| 48 | + onMouseEnter={[Function]} |
| 49 | + onMouseLeave={[Function]} |
| 50 | + onResponderGrant={[Function]} |
| 51 | + onResponderMove={[Function]} |
| 52 | + onResponderRelease={[Function]} |
| 53 | + onResponderTerminate={[Function]} |
| 54 | + onResponderTerminationRequest={[Function]} |
| 55 | + onStartShouldSetResponder={[Function]} |
| 56 | + style={ |
| 57 | + { |
| 58 | + "alignItems": "center", |
| 59 | + "alignSelf": "flex-start", |
| 60 | + "backgroundColor": "#ffffff", |
| 61 | + "borderColor": "#d1d1d1", |
| 62 | + "borderRadius": 4, |
| 63 | + "borderWidth": 1, |
| 64 | + "display": "flex", |
| 65 | + "flexDirection": "row", |
| 66 | + "justifyContent": "center", |
| 67 | + "minHeight": 24, |
| 68 | + "minWidth": 64, |
| 69 | + "padding": 3, |
| 70 | + "paddingHorizontal": 7, |
| 71 | + "width": undefined, |
| 72 | + } |
| 73 | + } |
| 74 | + > |
| 75 | + <Text |
| 76 | + accessible={false} |
| 77 | + ellipsizeMode="tail" |
| 78 | + numberOfLines={0} |
| 79 | + onAccessibilityTap={[Function]} |
| 80 | + style={ |
| 81 | + { |
| 82 | + "color": "#242424", |
| 83 | + "fontFamily": "Segoe UI", |
| 84 | + "fontSize": 12, |
| 85 | + "fontWeight": "400", |
| 86 | + "margin": 0, |
| 87 | + "marginBottom": 1, |
| 88 | + "marginEnd": -2, |
| 89 | + "marginStart": 0, |
| 90 | + "marginTop": -1, |
| 91 | + } |
| 92 | + } |
| 93 | + > |
| 94 | + Your component |
| 95 | + </Text> |
| 96 | + </View> |
| 97 | +</RCTTooltip> |
| 98 | +`; |
0 commit comments