Skip to main content
function IconCopy(props: Omit<SVGProps<SVGSVGElement>, "viewBox">): Element;
Copy icon component.

Parameters

ParameterTypeDescription
propsOmit<SVGProps<SVGSVGElement>, "viewBox">The props for the icon.

Returns

Element The copy icon.

Example

// Icon is correctly hidden from screen readers
<button type="button" onClick={handleClick}>
  <IconCopy />
  Copy address
</button>

// Icon with screen-reader accessible label only
<button type="button" onClick={handleClick}>
  <IconCopy aria-label="Copy address" />
</button>