mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user