From 480ea85bed6f7c90c45d14884b4ec1105d92971a Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Thu, 7 Oct 2021 19:07:21 -0400 Subject: [PATCH] Add missing index to MultiValue props type (#4846) * Add missing index prop on MultiValue * Create small-bobcats-push.md --- .changeset/small-bobcats-push.md | 5 +++++ packages/react-select/src/components/MultiValue.tsx | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/small-bobcats-push.md diff --git a/.changeset/small-bobcats-push.md b/.changeset/small-bobcats-push.md new file mode 100644 index 0000000000..2578e720f6 --- /dev/null +++ b/.changeset/small-bobcats-push.md @@ -0,0 +1,5 @@ +--- +'react-select': patch +--- + +Add missing index to MultiValue props type diff --git a/packages/react-select/src/components/MultiValue.tsx b/packages/react-select/src/components/MultiValue.tsx index d540b427fb..173d9cd000 100644 --- a/packages/react-select/src/components/MultiValue.tsx +++ b/packages/react-select/src/components/MultiValue.tsx @@ -32,6 +32,7 @@ export interface MultiValueProps< isFocused: boolean; isDisabled: boolean; removeProps: JSX.IntrinsicElements['div']; + index: number; } export const multiValueCSS = <