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 authored and heatlikeheatwave committed Sep 25, 2024
1 parent 791e198 commit 5b2725f
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 5b2725f

Please sign in to comment.