From 4e6213eb073b89ce315e1008da7e8850bded2331 Mon Sep 17 00:00:00 2001 From: abhijithvijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Mon, 16 Mar 2020 19:55:02 +0530 Subject: [PATCH] refactor: use same icons as in kutt --- src/components/Icon/Copy.tsx | 13 +++++++------ src/components/Icon/Cross.tsx | 17 +++++++++++------ src/components/Icon/QRCode.tsx | 11 ++++++----- src/components/Icon/Refresh.tsx | 20 +++++++++++++------- src/components/Icon/Tick.tsx | 21 ++++++++++++--------- 5 files changed, 49 insertions(+), 33 deletions(-) diff --git a/src/components/Icon/Copy.tsx b/src/components/Icon/Copy.tsx index 7be4bbd..5a08bd9 100644 --- a/src/components/Icon/Copy.tsx +++ b/src/components/Icon/Copy.tsx @@ -3,15 +3,16 @@ import React from 'react'; const Copy: React.FC = () => { return ( diff --git a/src/components/Icon/Cross.tsx b/src/components/Icon/Cross.tsx index d28eebd..7f6481b 100644 --- a/src/components/Icon/Cross.tsx +++ b/src/components/Icon/Cross.tsx @@ -3,13 +3,18 @@ import React from 'react'; const Cross: React.FC = () => { return ( - + + ); }; diff --git a/src/components/Icon/QRCode.tsx b/src/components/Icon/QRCode.tsx index 6f44564..c67c726 100644 --- a/src/components/Icon/QRCode.tsx +++ b/src/components/Icon/QRCode.tsx @@ -3,12 +3,13 @@ import React from 'react'; const QRCode: React.FC = () => { return ( diff --git a/src/components/Icon/Refresh.tsx b/src/components/Icon/Refresh.tsx index 7175002..711c500 100644 --- a/src/components/Icon/Refresh.tsx +++ b/src/components/Icon/Refresh.tsx @@ -3,14 +3,20 @@ import React from 'react'; const Refresh: React.FC = () => { return ( - + + + ); }; diff --git a/src/components/Icon/Tick.tsx b/src/components/Icon/Tick.tsx index 1244823..03c3f5e 100644 --- a/src/components/Icon/Tick.tsx +++ b/src/components/Icon/Tick.tsx @@ -1,18 +1,21 @@ import React from 'react'; -const Check: React.FC = () => { +const Tick: React.FC = () => { return ( - + ); }; -export default React.memo(Check); +export default React.memo(Tick);