diff --git a/src/frontend/src/components/genericIconComponent/index.tsx b/src/frontend/src/components/genericIconComponent/index.tsx index 5cb6bdeca..8290e124f 100644 --- a/src/frontend/src/components/genericIconComponent/index.tsx +++ b/src/frontend/src/components/genericIconComponent/index.tsx @@ -3,7 +3,7 @@ import { IconComponentProps } from "../../types/components"; import { nodeIconsLucide } from "../../utils/styleUtils"; const ForwardedIconComponent = forwardRef( - ({ name, className, iconColor }: IconComponentProps, ref) => { + ({ name, className, iconColor, stroke }: IconComponentProps, ref) => { const TargetIcon = nodeIconsLucide[name] ?? nodeIconsLucide["unknown"]; return ( ); } diff --git a/src/frontend/src/pages/StorePage/components/market-card.tsx b/src/frontend/src/pages/StorePage/components/market-card.tsx index 4342f43cb..2fdd17c94 100644 --- a/src/frontend/src/pages/StorePage/components/market-card.tsx +++ b/src/frontend/src/pages/StorePage/components/market-card.tsx @@ -21,6 +21,7 @@ import { } from "../../../controllers/API"; import { storeComponent } from "../../../types/store"; import cloneFLowWithParent from "../../../utils/storeUtils"; +import { gradients } from "../../../utils/styleUtils"; import { classNames } from "../../../utils/utils"; export const MarketCardComponent = ({ @@ -141,6 +142,66 @@ export const MarketCardComponent = ({ + + + {data.is_component ? ( + + + + + + + + + + ) : ( + + )} + + {data.name} diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts index 0e021519a..c9bf2ea67 100644 --- a/src/frontend/src/types/components/index.ts +++ b/src/frontend/src/types/components/index.ts @@ -216,6 +216,7 @@ export type IconComponentProps = { className?: string; iconColor?: string; onClick?: () => void; + stroke?: string; }; export type InputProps = {