Skip to content

Commit

Permalink
fix: form banner default icon size
Browse files Browse the repository at this point in the history
  • Loading branch information
SashaShostyr committed Jun 4, 2024
1 parent 6d537b0 commit 67fe6c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions system/react-css/src/structuredComponents/FormBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ interface ComposedProps extends Props {

function getIcon(variant: Props['data-variant']): JSX.Element {
if (variant === 'purple' || variant === 'orange')
return getSentimentIcon('default');
return getSentimentIcon(variant);
return getSentimentIcon('default', 16);
return getSentimentIcon(variant, 16);
}

export const FormBanner = React.forwardRef<
Expand Down
4 changes: 2 additions & 2 deletions system/react/src/structuredComponents/FormBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ interface ComposedProps extends Props {

function getIcon(variant: Props['data-variant']): JSX.Element {
if (variant === 'purple' || variant === 'orange')
return getSentimentIcon('default');
return getSentimentIcon(variant);
return getSentimentIcon('default', 16);
return getSentimentIcon(variant, 16);
}

export const FormBanner = React.forwardRef<
Expand Down

0 comments on commit 67fe6c0

Please sign in to comment.