Skip to content

Commit

Permalink
fix: typo in CreateIconOptions comment (#5597)
Browse files Browse the repository at this point in the history
  • Loading branch information
m4x3d authored Feb 17, 2022
1 parent ead2bd6 commit c2bcba1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/unlucky-crabs-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@chakra-ui/icon": patch
---

Add missing word in comment of CreateIconOptions
2 changes: 1 addition & 1 deletion packages/icon/src/create-icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface CreateIconOptions {
*/
path?: React.ReactElement | React.ReactElement[]
/**
* If the has a single path, simply copy the path's `d` attribute
* If the `svg` has a single path, simply copy the path's `d` attribute
*/
d?: string
/**
Expand Down

1 comment on commit c2bcba1

@vercel
Copy link

@vercel vercel bot commented on c2bcba1 Feb 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.