You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
499 B
18 lines
499 B
import React from 'react';
|
|
import classNames from 'classnames';
|
|
|
|
const Modal = ({...props}) => {
|
|
return(
|
|
<div id="openModal" className={'modal"}>
|
|
<div className={classNames('modal_dialog ', position)}>
|
|
<div className={classNames('modal_content ', styles)}>
|
|
<div className="modal_body">
|
|
{props.children}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Modal; |