Skip to content

Commit

Permalink
fix: heading issue in icon doc
Browse files Browse the repository at this point in the history
  • Loading branch information
amars29 committed Nov 27, 2023
1 parent 47d423e commit 743a330
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 743a330

Please sign in to comment.