27 lines
554 B
TypeScript
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;
|