-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(component-overview): fix failing examples
- Loading branch information
1 parent
b691115
commit a7f7264
Showing
2 changed files
with
4 additions
and
7 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
component-overview/examples/messages/message-box/InfoMessage-customIcon.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |