react-select: Add missing headingProps to ComponentProps (#43091)

https://github.com/JedWatson/react-select/blob/master/packages/react-select/src/components/Group.js
This commit is contained in:
Romin Halltari
2020-03-14 02:27:35 +01:00
committed by GitHub
parent 46200a392a
commit f3febcc1ba

View File

@@ -8,6 +8,8 @@ interface ComponentProps {
children: ReactNode;
/** Component to wrap the label, recieves headingProps. */
Heading: ComponentType<any>;
/** Props to pass to Heading. */
headingProps: any;
/** Label to be displayed in the heading component. */
label: ReactNode;
}