ohif-viewer/platform/ui/src/contextProviders/ModalComponent.tsx
Alireza 70f2c797f4
feat(ui): move to React 18 and base for using shadcn/ui (#4174)
Co-authored-by: IbrahimCSAE <ibrahim.mdev@gmail.com>
2024-05-27 14:30:25 -04:00

27 lines
554 B
TypeScript

import PropTypes from 'prop-types';
import React from 'react';
export const ModalComponent = ({
content = null,
contentProps = null,
shouldCloseOnEsc = true,
isOpen = true,
closeButton = true,
title = null,
customClassName = '',
}) => {
return <></>;
};
ModalComponent.propTypes = {
content: PropTypes.node,
contentProps: PropTypes.object,
shouldCloseOnEsc: PropTypes.bool,
isOpen: PropTypes.bool,
closeButton: PropTypes.bool,
title: PropTypes.string,
customClassName: PropTypes.string,
};
export default ModalComponent;