Added "Unsubscribe" broken heart icon.

This commit is contained in:
kuesa 2019-02-06 22:28:37 -08:00 committed by Sean Yesmunt
parent e025a33a0f
commit 85fbea8180
3 changed files with 5 additions and 1 deletions

View file

@ -110,4 +110,7 @@ export const customIcons = {
/>
</g>
),
[ICONS.UNSUBSCRIBE]: buildIcon(
<path d="M 12,5.67 10.94,4.61 C 5.7533356,-0.57666427 -2.0266644,7.2033357 3.16,12.39 l 1.06,1.06 7.78,7.78 7.78,-7.78 1.06,-1.06 c 2.149101,-2.148092 2.149101,-5.6319078 0,-7.78 -2.148092,-2.1491008 -5.631908,-2.1491008 -7.78,0 L 9.5739708,8.4999794 13.52032,12.530163 11.322995,15.006912" />
),
};

View file

@ -43,7 +43,7 @@ export default (props: Props) => {
return (
<Button
iconColor="red"
icon={isSubscribed ? undefined : ICONS.SUBSCRIPTION}
icon={isSubscribed ? ICONS.UNSUBSCRIBE : ICONS.SUBSCRIPTION}
button={buttonStyle || 'alt'}
label={subscriptionLabel}
onClick={e => {

View file

@ -27,6 +27,7 @@ export const PHONE = 'Phone';
export const COMPLETE = 'Check';
export const COMPLETED = 'CheckCircle';
export const SUBSCRIPTION = 'Heart';
export const UNSUBSCRIBE = 'BrokenHeart';
export const UNLOCK = 'Unlock';
export const WEB = 'Globe';
export const SHARE = 'Share2';