Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ export function Default() {
const terms = connected ? null : (
<p>
By clicking <strong>Connect</strong>, you agree to accept Sample App’s{' '}
<Link url="Example App">terms and conditions</Link>. You’ll pay a
commission rate of 15% on sales made through Sample App.
<Link href="Example App" underline="always">
terms and conditions
</Link>
. You’ll pay a commission rate of 15% on sales made through Sample App.
</p>
);

Expand Down
17 changes: 12 additions & 5 deletions polaris-react/src/components/Banner/Banner.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ export function Dismissible() {
<Banner onDismiss={() => {}}>
<p>
Use your finance report to get detailed information about your business.{' '}
<Link url="">Let us know what you think</Link>
<Link underline="always" tone="inherit" href="">
Let us know what you think
</Link>
</p>
</Banner>
);
Expand Down Expand Up @@ -104,8 +106,10 @@ export function Critical() {
>
<p>
Before fulfilling this order or capturing payment, please{' '}
<Link url="">review the Risk Analysis</Link> and determine if this order
is fraudulent.
<Link underline="always" tone="inherit" href="">
review the Risk Analysis
</Link>{' '}
and determine if this order is fraudulent.
</p>
</Banner>
);
Expand Down Expand Up @@ -180,7 +184,10 @@ export function InACard() {
<Banner onDismiss={() => {}}>
<p>
Use your finance report to get detailed information about your
business. <Link url="">Let us know what you think</Link>
business.{' '}
<Link underline="always" tone="inherit" href="">
Let us know what you think
</Link>
</p>
</Banner>

Expand All @@ -198,7 +205,7 @@ export function WithEndJustifiedContent() {
<Text variant="headingMd" fontWeight="semibold" as="h3">
Deployment failed in 5min
</Text>
<Link external url="https://example.com">
<Link tone="inherit" href="https://example.com" target="_blank">
Logs
</Link>
</HorizontalStack>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function Default() {
have shown an interest in your store. Reach out to them with
exclusive offers or updates about your products.
</p>
<Link url="#">Test link</Link>
<Link href="#">Test link</Link>
</TextContainer>
</Collapsible>
</LegacyStack>
Expand Down
Loading