import * as React from 'react' ; import MaterialExpansionPanel from '@material-ui/core/Accordion' ; import { IExpansionPanelProps } from './ExpansionPanel.props' ; export { IExpansionPanelProps } from './ExpansionPanel.props' ; see https export const ExpansionPanel = React . forwardRef < unknown , IExpansionPanelProps > ( ( props , ref ) => { const { children , ... otherProps } = props ; return < MaterialExpansionPanel { ... otherProps } ref = { ref } > { children } < /MaterialExpansionPanel>; } ) ; ExpansionPanel . displayName = 'ExpansionPanel' ; export default ExpansionPanel ;