Skip to content

Commit

Permalink
fix(toast): Fix toast icon size after button refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
anicholls committed Mar 13, 2020
1 parent 4d75bc4 commit 6a39ae9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions modules/toast/react/lib/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {SystemIcon} from '@workday/canvas-kit-react-icon';
import {checkIcon} from '@workday/canvas-system-icons-web';
import {CanvasSystemIcon} from '@workday/design-assets-types';
import {TransformOrigin} from '@workday/canvas-kit-react-common';
import {IconButtonSize} from '@workday/canvas-kit-react-button';
import styled from '@emotion/styled';

export interface ToastProps {
Expand Down Expand Up @@ -96,7 +95,7 @@ export default class Toast extends React.Component<ToastProps> {
transformOrigin={transformOrigin}
padding={PopupPadding.s}
handleClose={onClose}
closeIconSize={IconButtonSize.Small}
closeIconSize="small"
{...elemProps}
>
<ToastContentContainer onClose={onClose}>
Expand Down
1 change: 0 additions & 1 deletion modules/toast/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"dependencies": {
"@emotion/core": "^10.0.28",
"@emotion/styled": "^10.0.27",
"@workday/canvas-kit-react-button": "^3.5.0",
"@workday/canvas-kit-react-common": "^3.5.0",
"@workday/canvas-kit-react-core": "^3.5.0",
"@workday/canvas-kit-react-icon": "^3.5.0",
Expand Down

0 comments on commit 6a39ae9

Please sign in to comment.