Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
aria-modal="true"
role="dialog"
tabIndex={-1}
className={cx(
modalContentStyle,
modalSizes[size],
{
[visibleModalContentStyle]: state === 'entered',
},
contentClassName,
)}
>
{children}
)}