Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Commit

Permalink
Merge pull request #321 from gluestack/hotfix/docs
Browse files Browse the repository at this point in the history
fix: docs in asForwarder
  • Loading branch information
gluestackadmin authored Aug 18, 2023
2 parents b21bd8b + acb6487 commit 519deaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/storybook/src/api/AsForwarder/index.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ In the above example, `<H2 />` is rendered in place of StyledHeading, complete w

The 'as' prop is useful in cases of icons when we want to use icons from a third-party library but want the styles to be applied from the styled function.

n the example above, we're using the Camera icon from lucide-react-native, but the styles are applied from the styled function. This ensures consistent icon styles across the design system.
In the example above, we're using the Camera icon from lucide-react-native, but the styles are applied from the styled function. This ensures consistent icon styles across the design system.

0 comments on commit 519deaa

Please sign in to comment.