Skip to content

Commit

Permalink
fix: card阴影类名修复 (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Flower-F authored Sep 29, 2022
1 parent 4c1b70a commit ab73cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Card = forwardRef((props: CardProps, ref: React.Ref<HTMLDivElement>) => {
const cardClass = classNames(`${classPrefix}-card`, className, {
[commonClassNames.SIZE.small]: size === 'small',
[`${classPrefix}-card--bordered`]: bordered,
[`${classPrefix}--shadow`]: shadow,
[`${classPrefix}-card--shadow`]: shadow,
[`${classPrefix}-card--shadow-hover`]: hoverShadow,
});

Expand Down

0 comments on commit ab73cf4

Please sign in to comment.