Skip to content

Commit

Permalink
feat(tile): pass arguments to Tile stories correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
m4olivei committed Nov 11, 2024
1 parent ace582b commit 53f3c5f
Showing 1 changed file with 16 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,14 @@ export const Default = (args) => {
<c4d-tile-group>
${[...Array(8)].map(() =>
DefaultTile({
ctaType,
hasTagGroup,
ctaCopy,
hasPictogram,
alignWithContent,
href,
Tile: {
ctaType,
hasTagGroup,
ctaCopy,
hasPictogram,
alignWithContent,
href,
},
})
)}
</c4d-tile-group>
Expand All @@ -124,12 +126,14 @@ export const WithImage = (args) => {
<c4d-tile-group>
${[...Array(8)].map(() =>
TileWithImage({
ctaType,
hasTagGroup,
ctaCopy,
hasPictogram,
alignWithContent,
href,
Tile: {
ctaType,
hasTagGroup,
ctaCopy,
hasPictogram,
alignWithContent,
href,
},
})
)}
</c4d-tile-group>
Expand Down

0 comments on commit 53f3c5f

Please sign in to comment.