import * as React from "react"; export type CollapseOwnProps = { /** * State of the collapse. */ open: boolean; /** * Allow use another component as handle */ component?: E; /** * If set to true, it will unmount the content when the component is closed */ unmountOnExit?: boolean; className?: string; children?: React.ReactNode; sx?: React.CSSProperties & any; }; export type CollpaseProps = CollapseOwnProps & Omit, keyof CollapseOwnProps>;