Skip to content

Commit

Permalink
[Common actions] Update Button storybook examples to use `PlusCircleI…
Browse files Browse the repository at this point in the history
…con` (Shopify#11795)
  • Loading branch information
aaronccasanova authored Mar 28, 2024
1 parent 2517315 commit 8b398b8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions polaris-react/src/components/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import {
} from '@shopify/polaris';
import {
PlusIcon,
PlusCircleIcon,
XSmallIcon,
ChevronDownIcon,
EditIcon,
Expand Down Expand Up @@ -211,10 +212,10 @@ export function Plain() {
<Button variant="plain" disabled>
Label
</Button>
<Button variant="plain" icon={PlusIcon}>
<Button variant="plain" icon={PlusCircleIcon}>
Label
</Button>
<Button variant="plain" disabled icon={PlusIcon}>
<Button variant="plain" disabled icon={PlusCircleIcon}>
Label
</Button>
<Button variant="plain" disclosure>
Expand Down Expand Up @@ -246,10 +247,10 @@ export function MonochromePlain() {
<Box padding="400">
<InlineStack gap="400" blockAlign="center">
<Button variant="monochromePlain">Default</Button>
<Button variant="monochromePlain" icon={PlusIcon}>
<Button variant="monochromePlain" icon={PlusCircleIcon}>
With icon
</Button>
<Button variant="monochromePlain" disabled icon={PlusIcon}>
<Button variant="monochromePlain" disabled icon={PlusCircleIcon}>
Disabled with icon
</Button>
<Button variant="monochromePlain" disclosure>
Expand Down Expand Up @@ -281,10 +282,10 @@ export function Tertiary() {
<Button variant="tertiary" disabled>
Label
</Button>
<Button variant="tertiary" icon={PlusIcon}>
<Button variant="tertiary" icon={PlusCircleIcon}>
Label
</Button>
<Button variant="tertiary" disabled icon={PlusIcon}>
<Button variant="tertiary" disabled icon={PlusCircleIcon}>
Label
</Button>
<Button variant="tertiary" disclosure>
Expand All @@ -311,10 +312,10 @@ export function Tertiary() {
<Button variant="tertiary" disabled>
Label
</Button>
<Button variant="tertiary" icon={PlusIcon}>
<Button variant="tertiary" icon={PlusCircleIcon}>
Label
</Button>
<Button variant="tertiary" disabled icon={PlusIcon}>
<Button variant="tertiary" disabled icon={PlusCircleIcon}>
Label
</Button>
<Button variant="tertiary" disclosure>
Expand Down

0 comments on commit 8b398b8

Please sign in to comment.