Skip to content

Commit

Permalink
Add the rest of the MediaWrapper props to StoryImage
Browse files Browse the repository at this point in the history
  • Loading branch information
yvonnetangsu committed Feb 21, 2025
1 parent 79af62a commit efe5680
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion components/StoryImage/StoryImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,20 @@ export const StoryImage = ({

return (
<MediaWrapper
{...props}
caption={caption}
isCaptionInset={isCaptionInset}
captionBgColor={captionBgColor}
aspectRatio={aspectRatio}
isFullHeight={isFullHeight}
isParallax={isParallax}
boundingWidth={boundingWidth}
width={width}
pt={spacingTop}
pb={spacingBottom}
animation={animation}
delay={delay}
className={cnb(className, styles.root(isFullHeight))}
{...props}
>
{!!imageSrc && (
<Parallax offset={isParallax ? 60 : 0}>
Expand Down

0 comments on commit efe5680

Please sign in to comment.