File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
packages/cloud/views/billing/OrganizationBillingPage/SubscribeCards Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import { PropsWithChildren } from "react";
2
2
3
3
import { getLinkClassNames } from "./getLinkClassNames" ;
4
4
import { LinkProps } from "./Link" ;
5
- import { Box } from "../Box" ;
6
- import { Icon } from "../Icon" ;
7
5
8
6
interface ExternalLinkProps extends LinkProps {
9
7
href : string ;
@@ -28,11 +26,6 @@ export const ExternalLink: React.FC<PropsWithChildren<ExternalLinkProps>> = ({
28
26
target = { opensInNewTab ? "_blank" : undefined }
29
27
>
30
28
{ children }
31
- { withIcon && (
32
- < Box ml = "sm" as = "span" >
33
- < Icon type = "share" size = "sm" />
34
- </ Box >
35
- ) }
36
29
</ a >
37
30
) ;
38
31
} ;
Original file line number Diff line number Diff line change @@ -125,11 +125,11 @@ export const SubscribeCards: React.FC = () => {
125
125
< TeamsCard />
126
126
</ FlexContainer >
127
127
< FlexItem >
128
- < Text size = "lg" >
129
- < ExternalLink href = { links . pricingPage } opensInNewTab withIcon >
128
+ < ExternalLink href = { links . pricingPage } opensInNewTab >
129
+ < Button variant = "clear" size = "sm" icon = "share" iconPosition = "right" iconSize = "sm" >
130
130
< FormattedMessage id = "settings.organization.billing.pricingFeatureComparison" />
131
- </ ExternalLink >
132
- </ Text >
131
+ </ Button >
132
+ </ ExternalLink >
133
133
</ FlexItem >
134
134
</ FlexContainer >
135
135
</ Box >
You can’t perform that action at this time.
0 commit comments