Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`should render correctly: disabled 1`] = `
  3. <Button
  4. className="boolean-toggle boolean-toggle-on"
  5. disabled={true}
  6. name="toggle-name"
  7. onClick={[Function]}
  8. >
  9. <div
  10. aria-label="on"
  11. className="boolean-toggle-handle"
  12. >
  13. <CheckIcon
  14. size={12}
  15. />
  16. </div>
  17. </Button>
  18. `;
  19. exports[`should render correctly: off 1`] = `
  20. <Button
  21. className="boolean-toggle"
  22. disabled={true}
  23. name="toggle-name"
  24. onClick={[Function]}
  25. >
  26. <div
  27. aria-label="off"
  28. className="boolean-toggle-handle"
  29. >
  30. <CheckIcon
  31. size={12}
  32. />
  33. </div>
  34. </Button>
  35. `;
  36. exports[`should render correctly: on 1`] = `
  37. <Button
  38. className="boolean-toggle boolean-toggle-on"
  39. disabled={true}
  40. name="toggle-name"
  41. onClick={[Function]}
  42. >
  43. <div
  44. aria-label="on"
  45. className="boolean-toggle-handle"
  46. >
  47. <CheckIcon
  48. size={12}
  49. />
  50. </div>
  51. </Button>
  52. `;