Skip to content

Commit

Permalink
fix(component-overview): fix failing examples
Browse files Browse the repository at this point in the history
  • Loading branch information
HeleneKassandra committed Jan 3, 2024
1 parent b691115 commit a7f7264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { InfoMessage } from '@sb1/ffe-message-box-react';
import { Paragraph } from '@sb1/ffe-core-react';
import { HandlevognIkon } from '@sb1/ffe-icons-react';
import Symbol from '@sb1/ffe-symbols-react';

<InfoMessage title="Handlevognen din er tom" icon={<HandlevognIkon title="Handlevogn, ikon" />}>
<InfoMessage title="Handlevognen din er tom" icon={<Symbol ariaLabel="handlevogn" icon="shopping_cart" />}>
<Paragraph>Du har ingenting i handlevognen din.</Paragraph>
</InfoMessage>
7 changes: 2 additions & 5 deletions component-overview/examples/typography/LinkIcon.jsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { LinkIcon } from '@sb1/ffe-core-react';
import { SnakkebobleIkon } from '@sb1/ffe-icons-react';
import Symbol from '@sb1/ffe-symbols-react';

<LinkIcon href="https://www.sparebank1.no">
<SnakkebobleIkon
title="Snakk med oss"
style={{ height: '80px' }}
/>
<Symbol ariaLabel="chat" icon="chat" />
</LinkIcon>

0 comments on commit a7f7264

Please sign in to comment.