Skip to content

Commit

Permalink
chore: Update cards permutation to match expected usage
Browse files Browse the repository at this point in the history
  • Loading branch information
gethinwebster committed Aug 7, 2023
1 parent 715264b commit c7f5403
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pages/cards/permutations.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,14 @@ function createSimpleItems(count: number) {
}

const cardDefinition: CardsProps.CardDefinition<Item> = {
header: item => (item.number === 2 ? <Link href="#">{item.text}</Link> : item.text),
header: item =>
item.number === 2 ? (
<Link href="#" fontSize="heading-m">
{item.text}
</Link>
) : (
item.text
),
sections: [
{
id: 'description',
Expand Down

0 comments on commit c7f5403

Please sign in to comment.