Skip to content

Commit

Permalink
keep show live playable on splash
Browse files Browse the repository at this point in the history
  • Loading branch information
abeddow91 committed Oct 17, 2024
1 parent 2f43bb6 commit 2189f87
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dotcom-rendering/src/components/FlexibleGeneral.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type {
DCRFrontCard,
DCRGroupedTrails,
} from '../types/front';
import { Position } from './Card/Card';

Check failure on line 7 in dotcom-rendering/src/components/FlexibleGeneral.tsx

View workflow job for this annotation

GitHub Actions / lint / check

All imports in the declaration are only used as types. Use `import type`
import type {
ImagePositionType,
ImageSizeType,
Expand Down Expand Up @@ -195,6 +196,7 @@ export const SplashCardLayout = ({
imageLoading={imageLoading}
aspectRatio="5:4"
kickerText={card.kickerText}
showLivePlayable={card.showLivePlayable}
liveUpdatesAlignment={liveUpdatesAlignment}
boostedFontSizes={true}
isFlexSplash={true}
Expand All @@ -212,7 +214,7 @@ type BoostedCardProperties = {
headlineSizeOnMobile: SmallHeadlineSize;
headlineSizeOnTablet: SmallHeadlineSize;
imageSize: ImageSizeType;
liveUpdatesPosition: 'inner' | 'outer';
liveUpdatesPosition: Position;
supportingContentAlignment: Alignment;
};

Expand Down

0 comments on commit 2189f87

Please sign in to comment.