import * as React from 'react' ; import { LocalOverlayHideProps , OverlayHideProps , overlayHideDefaultProps , overlayHidePropTypes } from '../Overlay/OverlayHide' ; import { ModalHide as _ModalHide } from './styled' ; export type LocalModalHideProps = LocalOverlayHideProps ; export type ModalHideProps = OverlayHideProps ; const ModalHide = React . forwardRef ( ( { children , ... props } , ref ) => ( < _ModalHide { ... props } ref = { ref } > { children } < /_ModalHide>)); ModalHide . propTypes = { ... overlayHidePropTypes } ; ModalHide . defaultProps = { ... overlayHideDefaultProps } ; const C = ModalHide ; export default C ;