From 5518504a9a2ef54fe976228238b149c6fa65dee3 Mon Sep 17 00:00:00 2001 From: Victor Trinh Date: Fri, 20 Dec 2024 15:21:40 -0500 Subject: [PATCH] Fix crash on Select documentation --- packages/components/src/Select/docs/customValue.tsx | 4 ++-- .../src/Select/docs/selectDropdown/autoMenuWidth.tsx | 6 +++--- .../components/src/Select/docs/selectDropdown/avatar.tsx | 6 +++--- .../components/src/Select/docs/selectDropdown/count.tsx | 4 ++-- .../src/Select/docs/selectDropdown/description.tsx | 6 +++--- .../components/src/Select/docs/selectDropdown/endIcons.tsx | 4 ++-- .../components/src/Select/docs/selectDropdown/footer.tsx | 6 +++--- .../components/src/Select/docs/selectDropdown/icons.tsx | 4 ++-- .../src/Select/docs/selectDropdown/selectionIndicator.tsx | 6 +++--- 9 files changed, 23 insertions(+), 23 deletions(-) diff --git a/packages/components/src/Select/docs/customValue.tsx b/packages/components/src/Select/docs/customValue.tsx index 877076934..ea6acdfb3 100644 --- a/packages/components/src/Select/docs/customValue.tsx +++ b/packages/components/src/Select/docs/customValue.tsx @@ -9,7 +9,7 @@ const renderValue = ({ defaultChildren, selectedItem }: ValueRenderProps) return ( <> - {name} + {name} ); } @@ -31,7 +31,7 @@ export default function Example() { return ( - {name} + {name} {role} ); diff --git a/packages/components/src/Select/docs/selectDropdown/autoMenuWidth.tsx b/packages/components/src/Select/docs/selectDropdown/autoMenuWidth.tsx index 594e36803..6da7707ae 100644 --- a/packages/components/src/Select/docs/selectDropdown/autoMenuWidth.tsx +++ b/packages/components/src/Select/docs/selectDropdown/autoMenuWidth.tsx @@ -7,15 +7,15 @@ export default function Example() { isAutoMenuWidth > - Designer + Designer Builds and maintains software. - Developer + Developer Creates visual design solutions. - Manager + Manager Leads teams and projects. diff --git a/packages/components/src/Select/docs/selectDropdown/avatar.tsx b/packages/components/src/Select/docs/selectDropdown/avatar.tsx index e45309322..c6d27ef4f 100644 --- a/packages/components/src/Select/docs/selectDropdown/avatar.tsx +++ b/packages/components/src/Select/docs/selectDropdown/avatar.tsx @@ -5,15 +5,15 @@ export default function Example() { ); diff --git a/packages/components/src/Select/docs/selectDropdown/count.tsx b/packages/components/src/Select/docs/selectDropdown/count.tsx index 863949988..1059f4db6 100644 --- a/packages/components/src/Select/docs/selectDropdown/count.tsx +++ b/packages/components/src/Select/docs/selectDropdown/count.tsx @@ -4,12 +4,12 @@ export default function Example() { return ( diff --git a/packages/components/src/Select/docs/selectDropdown/description.tsx b/packages/components/src/Select/docs/selectDropdown/description.tsx index beab2f8c1..af16c873c 100644 --- a/packages/components/src/Select/docs/selectDropdown/description.tsx +++ b/packages/components/src/Select/docs/selectDropdown/description.tsx @@ -4,15 +4,15 @@ export default function Example() { return ( diff --git a/packages/components/src/Select/docs/selectDropdown/endIcons.tsx b/packages/components/src/Select/docs/selectDropdown/endIcons.tsx index 7db30df57..099fc26f2 100644 --- a/packages/components/src/Select/docs/selectDropdown/endIcons.tsx +++ b/packages/components/src/Select/docs/selectDropdown/endIcons.tsx @@ -5,14 +5,14 @@ export default function Example() { return ( diff --git a/packages/components/src/Select/docs/selectDropdown/footer.tsx b/packages/components/src/Select/docs/selectDropdown/footer.tsx index e8627e901..e61224f47 100644 --- a/packages/components/src/Select/docs/selectDropdown/footer.tsx +++ b/packages/components/src/Select/docs/selectDropdown/footer.tsx @@ -8,15 +8,15 @@ export default function Example() { footer={} > - Designer + Designer Builds and maintains software. - Developer + Developer Creates visual design solutions. - Manager + Manager Leads teams and projects. diff --git a/packages/components/src/Select/docs/selectDropdown/icons.tsx b/packages/components/src/Select/docs/selectDropdown/icons.tsx index 757302f52..5b628a976 100644 --- a/packages/components/src/Select/docs/selectDropdown/icons.tsx +++ b/packages/components/src/Select/docs/selectDropdown/icons.tsx @@ -5,14 +5,14 @@ export default function Example() { return ( diff --git a/packages/components/src/Select/docs/selectDropdown/selectionIndicator.tsx b/packages/components/src/Select/docs/selectDropdown/selectionIndicator.tsx index 25e308b68..3a34cce30 100644 --- a/packages/components/src/Select/docs/selectDropdown/selectionIndicator.tsx +++ b/packages/components/src/Select/docs/selectDropdown/selectionIndicator.tsx @@ -12,15 +12,15 @@ export default function Example() { selectionIndicator="input" > - Developer + Developer Builds and maintains software. - Designer + Designer Creates visual design solutions. - Manager + Manager Leads teams and projects.