Commit 628e591c authored by Damien Mariotto's avatar Damien Mariotto
Browse files

[Modal] Fix proptypes display in doc

parent 71d2714e
Pipeline #1637 passed with stage
in 55 seconds
......@@ -105,7 +105,9 @@ function Modal({
childProps.onExited = handleExited;
}
return ReactDOM.createPortal(
return (
<>
{ReactDOM.createPortal(
<div
className={classNames(classes.root)}
onClick={handleBackdropClick}
......@@ -138,6 +140,8 @@ function Modal({
)}
</div>,
modalRoot
)}
</>
);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment