import * as React from "react";
import { SharedBasic } from "./utils";

export interface CollapsibleItemProps extends SharedBasic {
  expanded?: boolean;
  node?: React.ReactNode;
  header: any;
  icon?: React.ReactNode;
  iconClassName?: string;
  onSelect?: (eventKey: any) => any;
  eventKey?: any;
}

/**
 * React Materialize: CollapsibleItem
 */
declare const CollapsibleItem: React.FC<CollapsibleItemProps>;

export default CollapsibleItem;

import * as React from "react";
import { SharedBasic } from "./utils";

export interface CollapsibleItemProps extends SharedBasic {
  expanded?: boolean;
  node?: React.ReactNode;
  header: any;
  icon?: React.ReactNode;
  iconClassName?: string;
  onSelect: (eventKey: any) => any;
  eventKey?: any;
}

/**
 * React Materialize: CollapsibleItem
 */
declare const CollapsibleItem: React.FC<CollapsibleItemProps>;

export default CollapsibleItem;

--- 
+++ 
@@ -7,7 +7,7 @@
   header: any;
   icon?: React.ReactNode;
   iconClassName?: string;
-  onSelect: (eventKey: any) => any;
+  onSelect?: (eventKey: any) => any;
   eventKey?: any;
 }
 
Make onSelect on CollapsibleItem optional

This change partially reverts the changes made in 4308d86fbc99e28eaff7d676c44a18d1c823be6d