From c2bcba11ca60c175b35dff10a922e600c3fd065c Mon Sep 17 00:00:00 2001 From: Max F <44474134+m4x3d@users.noreply.github.com> Date: Thu, 17 Feb 2022 11:06:51 +0100 Subject: [PATCH] fix: typo in CreateIconOptions comment (#5597) --- .changeset/unlucky-crabs-repeat.md | 5 +++++ packages/icon/src/create-icon.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/unlucky-crabs-repeat.md diff --git a/.changeset/unlucky-crabs-repeat.md b/.changeset/unlucky-crabs-repeat.md new file mode 100644 index 00000000000..4ee90e87993 --- /dev/null +++ b/.changeset/unlucky-crabs-repeat.md @@ -0,0 +1,5 @@ +--- +"@chakra-ui/icon": patch +--- + +Add missing word in comment of CreateIconOptions diff --git a/packages/icon/src/create-icon.tsx b/packages/icon/src/create-icon.tsx index e09e2124353..fc09e97a962 100644 --- a/packages/icon/src/create-icon.tsx +++ b/packages/icon/src/create-icon.tsx @@ -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 /**