Skip to content

Commit

Permalink
Fix TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
dogmar committed Aug 4, 2023
1 parent 61ef50f commit 082dc93
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/components/page-sections/HomepageFeaturesSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,21 @@ const MultiImageSC = styled.div<{ $aspectRatio: string }>(
position: 'relative',
})
)
const MultiImageWrapSC = styled.div<
ImgPropsSC & { $round: boolean; $direction: 1 | -1 }
>(({ $width, $top, $left, $height, $round }) => ({
top: $top,
left: $left,
height: $height,
width: $width,
position: 'absolute',
// Keep box shadow looking correct
// when containing rounded images
borderRadius: 10,
boxShadow: mShadows.light.moderate,
transformStyle: 'preserve-3d',
perspective: PERSPECTIVE,
}))
const MultiImageWrapSC = styled.div<ImgPropsSC & { $direction: 1 | -1 }>(
({ $width, $top, $left, $height }) => ({
top: $top,
left: $left,
height: $height,
width: $width,
position: 'absolute',
// Keep box shadow looking correct
// when containing rounded images
borderRadius: 10,
boxShadow: mShadows.light.moderate,
transformStyle: 'preserve-3d',
perspective: PERSPECTIVE,
})
)

const MultiImageVideoSC = styled.video<{ $round?: boolean }>(
({ $round = true }) => ({
Expand Down

0 comments on commit 082dc93

Please sign in to comment.