From f3febcc1baf863b92dc0e40d9fb1024e4ef0060b Mon Sep 17 00:00:00 2001 From: Romin Halltari Date: Sat, 14 Mar 2020 02:27:35 +0100 Subject: [PATCH] react-select: Add missing headingProps to ComponentProps (#43091) https://github.com/JedWatson/react-select/blob/master/packages/react-select/src/components/Group.js --- types/react-select/src/components/Group.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/react-select/src/components/Group.d.ts b/types/react-select/src/components/Group.d.ts index 78d717b3e8..f240315724 100644 --- a/types/react-select/src/components/Group.d.ts +++ b/types/react-select/src/components/Group.d.ts @@ -8,6 +8,8 @@ interface ComponentProps { children: ReactNode; /** Component to wrap the label, recieves headingProps. */ Heading: ComponentType; + /** Props to pass to Heading. */ + headingProps: any; /** Label to be displayed in the heading component. */ label: ReactNode; }