You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ActionsDropdown-test.tsx.snap 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`ActionsDropdown should render correctly 1`] = `
  3. <Dropdown
  4. className="foo"
  5. onOpen={[MockFunction]}
  6. overlay={
  7. <ul
  8. className="menu"
  9. >
  10. <span>
  11. Hello world
  12. </span>
  13. </ul>
  14. }
  15. overlayPlacement="bottom"
  16. >
  17. <Button
  18. className="dropdown-toggle bar button-small"
  19. >
  20. <SettingsIcon
  21. size={12}
  22. />
  23. <DropdownIcon
  24. className="little-spacer-left"
  25. />
  26. </Button>
  27. </Dropdown>
  28. `;
  29. exports[`ActionsDropdown should render correctly 2`] = `
  30. <Dropdown
  31. className="foo"
  32. onOpen={[MockFunction]}
  33. overlay={
  34. <ul
  35. className="menu"
  36. >
  37. <span>
  38. Hello world
  39. </span>
  40. </ul>
  41. }
  42. overlayPlacement="bottom"
  43. >
  44. <Button
  45. className="dropdown-toggle bar"
  46. >
  47. <SettingsIcon
  48. size={14}
  49. />
  50. <DropdownIcon
  51. className="little-spacer-left"
  52. />
  53. </Button>
  54. </Dropdown>
  55. `;
  56. exports[`ActionsDropdownDivider should render correctly 1`] = `
  57. <li
  58. className="divider"
  59. />
  60. `;
  61. exports[`ActionsDropdownItem should render correctly 1`] = `
  62. <li>
  63. <a
  64. className="foo"
  65. href="#"
  66. onClick={[Function]}
  67. >
  68. <span>
  69. Hello world
  70. </span>
  71. </a>
  72. </li>
  73. `;
  74. exports[`ActionsDropdownItem should render correctly 2`] = `
  75. <li>
  76. <ForwardRef(Link)
  77. className="foo text-danger"
  78. id="baz"
  79. to="path/name"
  80. >
  81. <span>
  82. Hello world
  83. </span>
  84. </ForwardRef(Link)>
  85. </li>
  86. `;
  87. exports[`ActionsDropdownItem should render correctly 3`] = `
  88. <li>
  89. <a
  90. className="foo"
  91. download="foo/bar"
  92. href="path/name"
  93. >
  94. <span>
  95. Hello world
  96. </span>
  97. </a>
  98. </li>
  99. `;