Skip to content

Commit 97fe78d

Browse files
author
mkrause
committed
Fix broken icon example in Iconography page.
1 parent cc16092 commit 97fe78d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/Iconography.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ import cl from './Iconography.module.scss';
1616
Baklava comes with an icon pack using SVG sprite images. The `Icon` component is used to render a given icon by name:
1717

1818
```tsx
19-
<Icon icon="assessment"/>
19+
<Icon icon="badge-assessment"/>
2020
```
2121

2222
This will render:
2323

24-
<Icon icon="assessment" style={{ fontSize: '2rem' }}/>
24+
<Icon icon="badge-assessment" style={{ fontSize: '2rem' }}/>
2525

2626
Icons by default will adapt to the current text styling. To resize an icon, change the `font-size` in CSS. Similarly, you can change the CSS `color` property to update the icon's color.
2727

0 commit comments

Comments
 (0)