Skip to content

Commit

Permalink
fix(image-card): allow additional props (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
jendowns authored and vpicone committed Dec 11, 2019
1 parent 310fc0e commit 0f85490
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export default class ImageCard extends React.Component {
aspectRatio,
actionIcon,
className,
...rest
} = this.props;

let isLink;
Expand Down Expand Up @@ -181,7 +182,7 @@ export default class ImageCard extends React.Component {
}

return (
<div className={ImageCardClassNames}>
<div className={ImageCardClassNames} {...rest}>
<div className={aspectRatioClassNames}>
<div className={`${prefix}--aspect-ratio--object`}>
{cardContainer}
Expand Down

1 comment on commit 0f85490

@vercel
Copy link

@vercel vercel bot commented on 0f85490 Dec 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.