weechatRN

Weechat relay client for iOS using websockets https://github.com/mhoran/weechatRN
git clone http://git.hanabi.in/repos/weechatRN.git
Log | Files | Refs | README | LICENSE

App.js.snap (9039B)


      1 // Jest Snapshot v1, https://goo.gl/fbAQLP
      2 
      3 exports[`renders correctly 1`] = `
      4 <View
      5   style={
      6     Object {
      7       "backgroundColor": "#333",
      8       "flex": 1,
      9     }
     10   }
     11 >
     12   <View
     13     onMoveShouldSetResponder={[Function]}
     14     onMoveShouldSetResponderCapture={[Function]}
     15     onResponderEnd={[Function]}
     16     onResponderGrant={[Function]}
     17     onResponderMove={[Function]}
     18     onResponderReject={[Function]}
     19     onResponderRelease={[Function]}
     20     onResponderStart={[Function]}
     21     onResponderTerminate={[Function]}
     22     onResponderTerminationRequest={[Function]}
     23     onStartShouldSetResponder={[Function]}
     24     onStartShouldSetResponderCapture={[Function]}
     25     style={
     26       Object {
     27         "backgroundColor": "transparent",
     28         "flex": 1,
     29       }
     30     }
     31   >
     32     <View
     33       style={
     34         Object {
     35           "flex": 1,
     36           "zIndex": 0,
     37         }
     38       }
     39     >
     40       <RCTSafeAreaView
     41         emulateUnlessSupported={true}
     42         style={
     43           Object {
     44             "backgroundColor": "#333",
     45             "flex": 1,
     46           }
     47         }
     48       >
     49         <View
     50           style={
     51             Object {
     52               "alignItems": "center",
     53               "backgroundColor": "#333",
     54               "flexDirection": "row",
     55               "justifyContent": "space-between",
     56               "paddingBottom": 10,
     57             }
     58           }
     59         >
     60           <View
     61             style={
     62               Object {
     63                 "paddingHorizontal": 5,
     64               }
     65             }
     66           >
     67             <View
     68               accessible={true}
     69               focusable={true}
     70               onClick={[Function]}
     71               onResponderGrant={[Function]}
     72               onResponderMove={[Function]}
     73               onResponderRelease={[Function]}
     74               onResponderTerminate={[Function]}
     75               onResponderTerminationRequest={[Function]}
     76               onStartShouldSetResponder={[Function]}
     77               style={
     78                 Object {
     79                   "opacity": 1,
     80                   "paddingHorizontal": 10,
     81                   "paddingVertical": 5,
     82                   "width": 40,
     83                 }
     84               }
     85             >
     86               <Text
     87                 style={
     88                   Array [
     89                     Object {
     90                       "color": "#eee",
     91                       "fontFamily": "Gill Sans",
     92                       "fontSize": 20,
     93                       "fontWeight": "bold",
     94                       "textAlign": "center",
     95                     },
     96                     false,
     97                   ]
     98                 }
     99               >
    100                 #
    101               </Text>
    102             </View>
    103           </View>
    104           <View
    105             accessible={true}
    106             focusable={true}
    107             onClick={[Function]}
    108             onResponderGrant={[Function]}
    109             onResponderMove={[Function]}
    110             onResponderRelease={[Function]}
    111             onResponderTerminate={[Function]}
    112             onResponderTerminationRequest={[Function]}
    113             onStartShouldSetResponder={[Function]}
    114             style={
    115               Object {
    116                 "opacity": 1,
    117               }
    118             }
    119           >
    120             <Text
    121               style={
    122                 Object {
    123                   "color": "#eee",
    124                   "fontFamily": "Thonburi",
    125                   "fontSize": 15,
    126                   "fontWeight": "bold",
    127                 }
    128               }
    129             />
    130           </View>
    131           <View
    132             style={
    133               Object {
    134                 "paddingHorizontal": 5,
    135               }
    136             }
    137           >
    138             <View
    139               accessible={true}
    140               focusable={false}
    141               onClick={[Function]}
    142               onResponderGrant={[Function]}
    143               onResponderMove={[Function]}
    144               onResponderRelease={[Function]}
    145               onResponderTerminate={[Function]}
    146               onResponderTerminationRequest={[Function]}
    147               onStartShouldSetResponder={[Function]}
    148               style={
    149                 Object {
    150                   "opacity": 1,
    151                   "paddingHorizontal": 10,
    152                   "paddingVertical": 5,
    153                   "width": 40,
    154                 }
    155               }
    156             >
    157               <Image
    158                 source={1}
    159               />
    160             </View>
    161           </View>
    162         </View>
    163         <View
    164           style={
    165             Object {
    166               "backgroundColor": "#222",
    167               "flex": 1,
    168             }
    169           }
    170         />
    171       </RCTSafeAreaView>
    172     </View>
    173     <View
    174       accessible={true}
    175       focusable={true}
    176       onClick={[Function]}
    177       onResponderGrant={[Function]}
    178       onResponderMove={[Function]}
    179       onResponderRelease={[Function]}
    180       onResponderTerminate={[Function]}
    181       onResponderTerminationRequest={[Function]}
    182       onStartShouldSetResponder={[Function]}
    183       pointerEvents="none"
    184       style={
    185         Object {
    186           "backgroundColor": "#000",
    187           "bottom": 0,
    188           "left": 0,
    189           "opacity": 0,
    190           "position": "absolute",
    191           "right": 0,
    192           "top": 0,
    193           "zIndex": 1000,
    194         }
    195       }
    196     />
    197     <View
    198       accessibilityViewIsModal={false}
    199       style={
    200         Object {
    201           "backgroundColor": undefined,
    202           "bottom": 0,
    203           "left": 0,
    204           "position": "absolute",
    205           "right": null,
    206           "top": 0,
    207           "transform": Array [
    208             Object {
    209               "translateX": -320,
    210             },
    211           ],
    212           "width": 320,
    213           "zIndex": 1001,
    214         }
    215       }
    216     >
    217       <View
    218         style={
    219           Object {
    220             "backgroundColor": "#121212",
    221             "flex": 1,
    222           }
    223         }
    224       >
    225         <View
    226           style={
    227             Object {
    228               "height": 30,
    229             }
    230           }
    231         />
    232         <RCTScrollView
    233           data={
    234             Array [
    235               Object {
    236                 "full_name": "irc.freenode.#weechat",
    237                 "id": "1",
    238                 "local_variables": Object {
    239                   "type": "channel",
    240                 },
    241                 "short_name": "#weechat",
    242               },
    243             ]
    244           }
    245           disableVirtualization={false}
    246           getItem={[Function]}
    247           getItemCount={[Function]}
    248           horizontal={false}
    249           initialNumToRender={10}
    250           keyExtractor={[Function]}
    251           maxToRenderPerBatch={10}
    252           onContentSizeChange={[Function]}
    253           onEndReachedThreshold={2}
    254           onLayout={[Function]}
    255           onMomentumScrollEnd={[Function]}
    256           onScroll={[Function]}
    257           onScrollBeginDrag={[Function]}
    258           onScrollEndDrag={[Function]}
    259           removeClippedSubviews={false}
    260           renderItem={[Function]}
    261           scrollEventThrottle={50}
    262           stickyHeaderIndices={Array []}
    263           style={
    264             Object {
    265               "backgroundColor": "#121212",
    266               "flex": 1,
    267             }
    268           }
    269           updateCellsBatchingPeriod={50}
    270           viewabilityConfigCallbackPairs={Array []}
    271           windowSize={21}
    272         >
    273           <View>
    274             <View
    275               onLayout={[Function]}
    276               style={null}
    277             >
    278               <View
    279                 accessible={true}
    280                 focusable={true}
    281                 onClick={[Function]}
    282                 onResponderGrant={[Function]}
    283                 onResponderMove={[Function]}
    284                 onResponderRelease={[Function]}
    285                 onResponderTerminate={[Function]}
    286                 onResponderTerminationRequest={[Function]}
    287                 onStartShouldSetResponder={[Function]}
    288                 style={
    289                   Array [
    290                     Object {
    291                       "flex": 1,
    292                       "height": 40,
    293                       "justifyContent": "center",
    294                       "paddingHorizontal": 20,
    295                     },
    296                     null,
    297                   ]
    298                 }
    299               >
    300                 <View
    301                   style={
    302                     Object {
    303                       "flexDirection": "row",
    304                     }
    305                   }
    306                 >
    307                   <View
    308                     style={
    309                       Object {
    310                         "flex": 1,
    311                       }
    312                     }
    313                   >
    314                     <Text
    315                       style={
    316                         Array [
    317                           Object {
    318                             "color": "#eee",
    319                             "fontFamily": "Thonburi",
    320                             "fontSize": 15,
    321                             "fontWeight": "bold",
    322                           },
    323                           null,
    324                         ]
    325                       }
    326                     >
    327                       #weechat
    328                     </Text>
    329                   </View>
    330                 </View>
    331               </View>
    332             </View>
    333           </View>
    334         </RCTScrollView>
    335       </View>
    336     </View>
    337   </View>
    338 </View>
    339 `;