textCopyInput.spec.jsx.snap 663 B

1234567891011121314151617181920212223242526272829303132
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`TextCopyInput renders 1`] = `
  3. <Flex>
  4. <OverflowContainer>
  5. <StyledInput
  6. onClick={[Function]}
  7. readOnly={true}
  8. value="Text to Copy"
  9. />
  10. </OverflowContainer>
  11. <Clipboard
  12. errorMessage="Error copying to clipboard"
  13. hideMessages={false}
  14. hideUnsupported={true}
  15. onClick={[Function]}
  16. successMessage="Copied to clipboard"
  17. value="Text to Copy"
  18. >
  19. <StyledCopyButton
  20. onClick={[Function]}
  21. size="xsmall"
  22. type="button"
  23. >
  24. <InlineSvg
  25. size="1.25em"
  26. src="icon-clipboard"
  27. />
  28. </StyledCopyButton>
  29. </Clipboard>
  30. </Flex>
  31. `;