ChannelSummary.test.js.snap 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`ChannelSummary component Should render correctly 1`] = `
  3. <Memo(ChannelSummary)
  4. img="https://s3.amazonaws.com/keybase_processed_uploads/9003a57620356bd89d62bd34c7c0c305_360_360.jpg"
  5. isPublic={true}
  6. isVerified={true}
  7. name="Test channel"
  8. size="default"
  9. >
  10. <div
  11. css={
  12. Object {
  13. "map": undefined,
  14. "name": "cbmrdi",
  15. "next": undefined,
  16. "styles": "
  17. display: grid;
  18. grid-template: auto / 4.75rem;
  19. margin: 30px 0;
  20. ",
  21. "toString": [Function],
  22. }
  23. }
  24. >
  25. <div
  26. css={
  27. Object {
  28. "map": undefined,
  29. "name": "15zzzm1",
  30. "next": undefined,
  31. "styles": "
  32. grid-column: 1 / 1;
  33. cursor: pointer;
  34. ",
  35. "toString": [Function],
  36. }
  37. }
  38. onClick={[Function]}
  39. >
  40. <Memo(Avatar)
  41. img="https://s3.amazonaws.com/keybase_processed_uploads/9003a57620356bd89d62bd34c7c0c305_360_360.jpg"
  42. size="default"
  43. >
  44. <div
  45. css={
  46. Object {
  47. "map": undefined,
  48. "name": "9ax11r",
  49. "next": undefined,
  50. "styles": "
  51. background-image: url(https://s3.amazonaws.com/keybase_processed_uploads/9003a57620356bd89d62bd34c7c0c305_360_360.jpg);
  52. background-size: cover;
  53. background-position: center;
  54. border-radius: 50%;
  55. min-width: 4.75rem;
  56. min-height: 4.75rem;
  57. max-width: 4.75rem;
  58. max-height: 4.75rem;
  59. ",
  60. "toString": [Function],
  61. }
  62. }
  63. />
  64. </Memo(Avatar)>
  65. </div>
  66. <div
  67. css={
  68. Object {
  69. "map": undefined,
  70. "name": "1efshn",
  71. "next": undefined,
  72. "styles": "
  73. grid-column: 2 / 2;
  74. flex-direction: column;
  75. margin: 0 0 0 1rem;
  76. & > a {
  77. text-decoration: none;
  78. }
  79. ",
  80. "toString": [Function],
  81. }
  82. }
  83. >
  84. <h1
  85. css={
  86. Object {
  87. "map": undefined,
  88. "name": "1k3ibyh",
  89. "next": undefined,
  90. "styles": "
  91. color: #2E86AB;
  92. margin: 0.75rem 0;
  93. display: inline-block;
  94. cursor: pointer;
  95. ",
  96. "toString": [Function],
  97. }
  98. }
  99. onClick={[Function]}
  100. >
  101. Test channel
  102. </h1>
  103. <div
  104. css={
  105. Object {
  106. "map": undefined,
  107. "name": "1t1yw03",
  108. "next": undefined,
  109. "styles": "
  110. text-transform: uppercase;
  111. font-size: 0.825rem;
  112. & > *:not(last-child) {
  113. margin-right: 0.5rem;
  114. }
  115. ",
  116. "toString": [Function],
  117. }
  118. }
  119. >
  120. <Memo(Tag)
  121. color="#219653"
  122. icon={
  123. Object {
  124. "icon": Array [
  125. 512,
  126. 512,
  127. Array [],
  128. "f00c",
  129. "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z",
  130. ],
  131. "iconName": "check",
  132. "prefix": "fas",
  133. }
  134. }
  135. text="Verified"
  136. >
  137. <div
  138. css={
  139. Object {
  140. "map": undefined,
  141. "name": "1wt924n",
  142. "next": undefined,
  143. "styles": "
  144. display: inline-block;
  145. font-family: 'Lato','Helvetica Neue',Arial,Helvetica,sans-serif;
  146. border: 1px solid #219653;
  147. border-radius: 4px;
  148. padding: 5px 10px;
  149. color: #219653;
  150. cursor: default;
  151. vertical-align: middle;
  152. ",
  153. "toString": [Function],
  154. }
  155. }
  156. >
  157. <FontAwesomeIcon
  158. border={false}
  159. className=""
  160. css={
  161. Object {
  162. "map": undefined,
  163. "name": "1nzu8hs",
  164. "next": undefined,
  165. "styles": "
  166. & > path:nth-of-type(1) {
  167. color: inherit;
  168. flex-shrink: 0;
  169. }
  170. ",
  171. "toString": [Function],
  172. }
  173. }
  174. fixedWidth={false}
  175. flip={null}
  176. icon={
  177. Object {
  178. "icon": Array [
  179. 512,
  180. 512,
  181. Array [],
  182. "f00c",
  183. "M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z",
  184. ],
  185. "iconName": "check",
  186. "prefix": "fas",
  187. }
  188. }
  189. inverse={false}
  190. listItem={false}
  191. mask={null}
  192. pull={null}
  193. pulse={false}
  194. rotation={null}
  195. size={null}
  196. spin={false}
  197. swapOpacity={false}
  198. symbol={false}
  199. title=""
  200. transform={null}
  201. >
  202. <svg
  203. aria-hidden="true"
  204. className="svg-inline--fa fa-check fa-w-16 "
  205. css={
  206. Object {
  207. "map": undefined,
  208. "name": "1nzu8hs",
  209. "next": undefined,
  210. "styles": "
  211. & > path:nth-of-type(1) {
  212. color: inherit;
  213. flex-shrink: 0;
  214. }
  215. ",
  216. "toString": [Function],
  217. }
  218. }
  219. data-icon="check"
  220. data-prefix="fas"
  221. focusable="false"
  222. role="img"
  223. style={Object {}}
  224. viewBox="0 0 512 512"
  225. xmlns="http://www.w3.org/2000/svg"
  226. >
  227. <path
  228. d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"
  229. fill="currentColor"
  230. style={Object {}}
  231. />
  232. </svg>
  233. </FontAwesomeIcon>
  234. <span
  235. style={
  236. Object {
  237. "margin": "0 10px 0 0",
  238. }
  239. }
  240. />
  241. <span>
  242. Verified
  243. </span>
  244. </div>
  245. </Memo(Tag)>
  246. <Memo(Tag)
  247. color="#2F80ED"
  248. icon={
  249. Object {
  250. "icon": Array [
  251. 576,
  252. 512,
  253. Array [],
  254. "f06e",
  255. "M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z",
  256. ],
  257. "iconName": "eye",
  258. "prefix": "fas",
  259. }
  260. }
  261. text="Public"
  262. >
  263. <div
  264. css={
  265. Object {
  266. "map": undefined,
  267. "name": "kqccd5",
  268. "next": undefined,
  269. "styles": "
  270. display: inline-block;
  271. font-family: 'Lato','Helvetica Neue',Arial,Helvetica,sans-serif;
  272. border: 1px solid #2F80ED;
  273. border-radius: 4px;
  274. padding: 5px 10px;
  275. color: #2F80ED;
  276. cursor: default;
  277. vertical-align: middle;
  278. ",
  279. "toString": [Function],
  280. }
  281. }
  282. >
  283. <FontAwesomeIcon
  284. border={false}
  285. className=""
  286. css={
  287. Object {
  288. "map": undefined,
  289. "name": "1nzu8hs",
  290. "next": undefined,
  291. "styles": "
  292. & > path:nth-of-type(1) {
  293. color: inherit;
  294. flex-shrink: 0;
  295. }
  296. ",
  297. "toString": [Function],
  298. }
  299. }
  300. fixedWidth={false}
  301. flip={null}
  302. icon={
  303. Object {
  304. "icon": Array [
  305. 576,
  306. 512,
  307. Array [],
  308. "f06e",
  309. "M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z",
  310. ],
  311. "iconName": "eye",
  312. "prefix": "fas",
  313. }
  314. }
  315. inverse={false}
  316. listItem={false}
  317. mask={null}
  318. pull={null}
  319. pulse={false}
  320. rotation={null}
  321. size={null}
  322. spin={false}
  323. swapOpacity={false}
  324. symbol={false}
  325. title=""
  326. transform={null}
  327. >
  328. <svg
  329. aria-hidden="true"
  330. className="svg-inline--fa fa-eye fa-w-18 "
  331. css={
  332. Object {
  333. "map": undefined,
  334. "name": "1nzu8hs",
  335. "next": undefined,
  336. "styles": "
  337. & > path:nth-of-type(1) {
  338. color: inherit;
  339. flex-shrink: 0;
  340. }
  341. ",
  342. "toString": [Function],
  343. }
  344. }
  345. data-icon="eye"
  346. data-prefix="fas"
  347. focusable="false"
  348. role="img"
  349. style={Object {}}
  350. viewBox="0 0 576 512"
  351. xmlns="http://www.w3.org/2000/svg"
  352. >
  353. <path
  354. d="M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"
  355. fill="currentColor"
  356. style={Object {}}
  357. />
  358. </svg>
  359. </FontAwesomeIcon>
  360. <span
  361. style={
  362. Object {
  363. "margin": "0 10px 0 0",
  364. }
  365. }
  366. />
  367. <span>
  368. Public
  369. </span>
  370. </div>
  371. </Memo(Tag)>
  372. </div>
  373. </div>
  374. </div>
  375. </Memo(ChannelSummary)>
  376. `;