CustomScrollbar.test.tsx.snap 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`CustomScrollbar renders correctly 1`] = `
  3. <div
  4. className="custom-scrollbars"
  5. style={
  6. Object {
  7. "height": "auto",
  8. "maxHeight": "100%",
  9. "minHeight": "0",
  10. "overflow": "hidden",
  11. "position": "relative",
  12. "width": "100%",
  13. }
  14. }
  15. >
  16. <div
  17. className="view"
  18. style={
  19. Object {
  20. "WebkitOverflowScrolling": "touch",
  21. "bottom": undefined,
  22. "left": undefined,
  23. "marginBottom": 0,
  24. "marginRight": 0,
  25. "maxHeight": "calc(100% + 0px)",
  26. "minHeight": "calc(0 + 0px)",
  27. "overflow": "scroll",
  28. "position": "relative",
  29. "right": undefined,
  30. "top": undefined,
  31. }
  32. }
  33. >
  34. <p>
  35. Scrollable content
  36. </p>
  37. </div>
  38. <div
  39. className="track-horizontal"
  40. style={
  41. Object {
  42. "display": "none",
  43. "height": 6,
  44. "position": "absolute",
  45. }
  46. }
  47. >
  48. <div
  49. className="thumb-horizontal"
  50. style={
  51. Object {
  52. "display": "block",
  53. "height": "100%",
  54. "position": "relative",
  55. }
  56. }
  57. />
  58. </div>
  59. <div
  60. className="track-vertical"
  61. style={
  62. Object {
  63. "display": "none",
  64. "position": "absolute",
  65. "width": 6,
  66. }
  67. }
  68. >
  69. <div
  70. className="thumb-vertical"
  71. style={
  72. Object {
  73. "display": "block",
  74. "position": "relative",
  75. "width": "100%",
  76. }
  77. }
  78. />
  79. </div>
  80. </div>
  81. `;