Add unfollow modal (optional) (#4246)
* Add unfollow modal * unfollowing someone * remove unnecessary prop
This commit is contained in:
parent
89b988cab5
commit
3267e4a785
43 changed files with 146 additions and 5 deletions
|
@ -85,7 +85,7 @@ export default class ModalRoot extends React.PureComponent {
|
|||
>
|
||||
{interpolatedStyles =>
|
||||
<div className='modal-root'>
|
||||
{interpolatedStyles.map(({ key, data: { type }, style }) => (
|
||||
{interpolatedStyles.map(({ key, data: { type, props }, style }) => (
|
||||
<div key={key} style={{ pointerEvents: visible ? 'auto' : 'none' }}>
|
||||
<div role='presentation' className='modal-root__overlay' style={{ opacity: style.opacity }} onClick={onClose} />
|
||||
<div className='modal-root__container' style={{ opacity: style.opacity, transform: `translateZ(0px) scale(${style.scale})` }}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue