Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
bug(UIKIT-1697,Description): Исправлено попадание проса в DOM (#1094)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan1caisreal authored Aug 14, 2024
1 parent a33ab86 commit 973694d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/src/Description/Value/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ type StyledCopyIconProps = SvgIconProps & {
$copyPosition: ValueProps['copyPosition'];
};

export const StyledCopyIcon = styled(CopyOutlineSm)<StyledCopyIconProps>`
export const StyledCopyIcon = styled(CopyOutlineSm, {
shouldForwardProp: (prop) => !['$copyPosition'].includes(prop),
})<StyledCopyIconProps>`
margin-right: ${({ $copyPosition, theme }) =>
$copyPosition === 'left' ? theme.spacing(1) : ''};
margin-bottom: -4px;
Expand Down

0 comments on commit 973694d

Please sign in to comment.