Skip to content

Commit 047a7e3

Browse files
committed
feat: add TargetPlatformBadgeList component and update ImageCard
1 parent ac59e09 commit 047a7e3

File tree

6 files changed

+6
-3
lines changed

6 files changed

+6
-3
lines changed

src/Shared/Components/ImageCard/ImageCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*/
1616

1717
import { ImageTagsContainer } from '../../../Common'
18+
import TargetPlatformBadgeList from '../TargetPlatformBadgeList/TargetPlatformBadgeList.component'
1819
import { ArtifactInfo } from './ArtifactInfo'
1920
import { SequentialCDCardTitle } from './SequentialCDCardTitle'
20-
import TargetPlatformBadgeList from './TargetPlatformBadgeList'
2121
import { ImageCardProps } from './types'
2222

2323
const ImageCard = ({

src/Shared/Components/ImageCard/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,3 @@ export interface ImageCardProps {
5858
rootClassName?: string
5959
materialInfoRootClassName?: string
6060
}
61-
62-
export interface TargetPlatformBadgeListProps extends Pick<ImageCardProps, 'targetPlatforms'> {}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default as TargetPlatformBadgeList } from './TargetPlatformBadgeList.component'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { TargetPlatformsDTO } from '@Shared/types'
2+
3+
export interface TargetPlatformBadgeListProps extends Pick<TargetPlatformsDTO, 'targetPlatforms'> {}

src/Shared/Components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ export * from './FileUpload'
6767
export * from './AnimatedDeployButton'
6868
export * from './BulkOperations'
6969
export * from './VirtualizedList'
70+
export * from './TargetPlatformBadgeList'

0 commit comments

Comments
 (0)