Skip to content

Commit

Permalink
add data-cy
Browse files Browse the repository at this point in the history
  • Loading branch information
summer-cook committed Mar 10, 2023
1 parent 433f9b8 commit 22d99e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compounds/Item/Item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const Item = ({ buttonLink, buttonProps, href, isLoading, item, orientation, tit
if (withTitleLink || withButtonLink) link = titleLink || buttonLink || href

return (
<Card key={id} style={{ width: `${width}` }} className={`h-100${orientation === 'horizontal' ? ' mb-4' : ''}`}>
<Card key={id} style={{ width: `${width}` }} className={`h-100${orientation === 'horizontal' ? ' mb-4' : ''}`} data-cy='item-card'>
{orientation === 'horizontal' ? (
<div className='row g-0 h-100'>
<div className='col-3'>
Expand Down

0 comments on commit 22d99e2

Please sign in to comment.