Skip to content

Commit

Permalink
Merge pull request #1533 from starknet-io/enhancement/add-tags-to-api…
Browse files Browse the repository at this point in the history
…-section

Add type list to ListCard
  • Loading branch information
rafaelcruzazevedo authored Oct 25, 2023
2 parents cb4ad4e + 6cc892a commit 641cd54
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion workspaces/website/src/blocks/ListCardItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ interface ListCardItems {
website_url: string;
twitter: string;
image: string;
type_list: {
type: string;
url: string;
}[];
}

interface Props extends LocaleProps {
Expand All @@ -33,7 +37,6 @@ export default function ListCardItems({
card_list_items
}:
Props): JSX.Element {

return (
<Box>
<Container maxW="1062px">
Expand All @@ -49,6 +52,7 @@ Props): JSX.Element {
key={`${card.title}-${i}`}
description={card.description}
title={card.title}
type_list={card.type_list}
/>
);
})}
Expand Down

0 comments on commit 641cd54

Please sign in to comment.