Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
const {
attachTo,
children,
closeOnBlanketClick,
component,
footer,
heading,
initialFocus,
onClose,
width,
transitionState,
} = this.props;
const dialogTitleId = generateUEID();
if (!attachTo) {
return null;
}
return createPortal(