Skip to content

Commit

Permalink
feat: Adjusted button examples
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-bagwell committed Sep 20, 2023
1 parent eb9b608 commit 5de52e7
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion modules/labs-react/button/lib/PrimaryButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const PrimaryButton = createComponent('button')({
{
children,
icon,
iconPosition,
iconPosition = children ? undefined : 'only',
shouldMirrorIcon,
size,
variant,
Expand Down
2 changes: 1 addition & 1 deletion modules/labs-react/button/lib/SecondaryButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const SecondaryButton = createComponent('button')({
children,
colors,
icon,
iconPosition,
iconPosition = children ? undefined : 'only',
shouldMirrorIcon,
size,
variant,
Expand Down
2 changes: 1 addition & 1 deletion modules/labs-react/button/lib/TertiaryButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const TertiaryButton = createComponent('button')({
children,
colors,
icon,
iconPosition,
iconPosition = children ? undefined : 'only',
shouldMirrorIcon,
size,
variant,
Expand Down
2 changes: 1 addition & 1 deletion modules/react/button/stories/button/examples/Delete.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';

import {DeleteButton} from '@workday/canvas-kit-react/button';
import {DeleteButton} from '@workday/canvas-kit-labs-react/button';

export const Delete = () => <DeleteButton>Click Me</DeleteButton>;
2 changes: 1 addition & 1 deletion modules/react/button/stories/button/examples/Primary.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import {PrimaryButton} from '@workday/canvas-kit-react/button';
import {PrimaryButton} from '@workday/canvas-kit-labs-react/button';
import {Flex} from '@workday/canvas-kit-react/layout';
import {
plusIcon,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import {PrimaryButton} from '@workday/canvas-kit-react/button';
import {PrimaryButton} from '@workday/canvas-kit-labs-react/button';
import {Flex} from '@workday/canvas-kit-react/layout';
import {
plusIcon,
Expand Down
2 changes: 1 addition & 1 deletion modules/react/button/stories/button/examples/Secondary.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import {SecondaryButton} from '@workday/canvas-kit-react/button';
import {SecondaryButton} from '@workday/canvas-kit-labs-react/button';
import {Flex} from '@workday/canvas-kit-react/layout';
import {
plusIcon,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import {SecondaryButton} from '@workday/canvas-kit-react/button';
import {SecondaryButton} from '@workday/canvas-kit-labs-react/button';
import {Flex} from '@workday/canvas-kit-react/layout';
import {
plusIcon,
Expand Down
2 changes: 1 addition & 1 deletion modules/react/button/stories/button/examples/Tertiary.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import {TertiaryButton} from '@workday/canvas-kit-react/button';
import {TertiaryButton} from '@workday/canvas-kit-labs-react/button';
import {Flex} from '@workday/canvas-kit-react/layout';
import {
plusIcon,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

import {TertiaryButton} from '@workday/canvas-kit-react/button';
import {TertiaryButton} from '@workday/canvas-kit-labs-react/button';
import {Flex} from '@workday/canvas-kit-react/layout';
import {
plusIcon,
Expand Down

0 comments on commit 5de52e7

Please sign in to comment.