From 4e23f7f14cb3da6ee763bfd5ed2f48a8619bf207 Mon Sep 17 00:00:00 2001 From: Cayla Hamann Date: Wed, 8 Jul 2020 12:23:08 -0400 Subject: [PATCH] feat: now when copy it does icon.TYPE --- src/components/IconReference.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/IconReference.js b/src/components/IconReference.js index a91bb3696..639485faf 100644 --- a/src/components/IconReference.js +++ b/src/components/IconReference.js @@ -11,7 +11,7 @@ const IconReference = ({ type }) => { className={styles.button} type="button" key={type} - onClick={() => copyIcon(type)} + onClick={() => copyIcon(`Icon.TYPE.${type}`)} > {copied ? 'Copied!' : type}