Skip to content

Commit

Permalink
Merge pull request #5722 from pat270/patch-1
Browse files Browse the repository at this point in the history
docs(clayui.com): Fix typo in Icons
  • Loading branch information
pat270 authored Nov 16, 2023
2 parents c851f49 + 45b2e42 commit 8c5f13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/clay-icon/docs/icon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import icons from '$clayui.com/static/js/icons-autogenerated.json';

- [Icon List](#icon-list)
- [Language Flags](#language-flags)
- [Best Pratices](#best-pratices)
- [Best Practices](#best-practices)
- [Using Context](#using-context)

</div>
Expand All @@ -33,7 +33,7 @@ import icons from '$clayui.com/static/js/icons-autogenerated.json';
source={flags}
/>

## Best Pratices
## Best Practices

For Icons, we use SVG elements that link to an SVG sprite. So, it becomes necessary to pass a parameter that points to a path where this [`spritemap`](#api-spritemap) is located.
If you are using the spritemap from `@clayui/css` you can download that svg [here](https://github.com/liferay/clay/blob/master/clayui.com/static/images/icons/icons.svg).
Expand Down

0 comments on commit 8c5f13f

Please sign in to comment.