Skip to content

Commit

Permalink
Merge pull request #1412 from gluestack/hotfix/icon-heading-text
Browse files Browse the repository at this point in the history
fix: heading issue in icon doc
  • Loading branch information
amars29 authored Nov 27, 2023
2 parents 47d423e + 743a330 commit dec1ecf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ Below is a list of all of the icons in the library.
We can directly create Icon using `createIcon` function exported from `@gluestack-ui/themed` and use it by passing it in `as` prop in `Icon` component.
CreateIcon function takes viewBox, d, path etc as parameters. We can use svgs from other icon libraries like fluent, react-icons etc.

##### Notes to remember while using `createIcon` function
##### Notes to remember while using createIcon function

- Pass svg props such as `viewBox` in `createIcon` directly.
- Copy the svg code without the SVG tag directly into the function argument `Path` or `D` or whichever prop justifies your svg.
Expand Down

0 comments on commit dec1ecf

Please sign in to comment.