-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add footer help example to polaris.shopify.com
Adjust alignment strings Add block stack import
- Loading branch information
1 parent
a01a6b2
commit a4867f5
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import {BlockStack, FooterHelp, Link} from '@shopify/polaris'; | ||
import React from 'react'; | ||
import {withPolarisExample} from '../../src/components/PolarisExampleWrapper'; | ||
|
||
function FooterHelpAlignExample() { | ||
return ( | ||
<BlockStack gap="1600"> | ||
<FooterHelp align="start"> | ||
Start{' '} | ||
<Link url="https://help.shopify.com/manual/orders/fulfill-orders"> | ||
fulfilling orders | ||
</Link> | ||
</FooterHelp> | ||
<FooterHelp align="center"> | ||
Center{' '} | ||
<Link url="https://help.shopify.com/manual/orders/fulfill-orders"> | ||
fulfilling orders | ||
</Link> | ||
</FooterHelp> | ||
<FooterHelp align="end"> | ||
End{' '} | ||
<Link url="https://help.shopify.com/manual/orders/fulfill-orders"> | ||
fulfilling orders | ||
</Link> | ||
</FooterHelp> | ||
</BlockStack> | ||
); | ||
} | ||
|
||
export default withPolarisExample(FooterHelpAlignExample); |