Skip to content

Commit

Permalink
Apply suggestions from code review (Leah)
Browse files Browse the repository at this point in the history
  • Loading branch information
im2nguyen committed Sep 9, 2024
1 parent cf6c99f commit 836f251
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/icon-tile/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ProductSlug } from 'types/products'
export type ProductBrandColor =
| 'neutral'
| 'neutral-dark'
| Exclude<ProductSlug, 'hcp'>
| Exclude<ProductSlug, 'sentinel' | 'hcp'>

export interface IconTileProps {
/** Pass a single child, which should be a Flight icon. For 'small' and 'medium' size, pass the 16px icon size; for other sizes pass the 24px icon size. Note that non-"color" icons will be colored using the "brandColor". */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const PRODUCT_ICON_MAP: Record<ProductOption, JSX.Element> = {
vault: <ProductIcon productSlug="vault" />,
vagrant: <ProductIcon productSlug="vagrant" />,
waypoint: <ProductIcon productSlug="waypoint" />,
sentinel: <ProductIcon productSlug="sentinel" />,
}
/**
* Map all card badge options to icons
Expand Down

0 comments on commit 836f251

Please sign in to comment.