How to use the @arch-ui/modal-utils.withModalHandlers function in @arch-ui/modal-utils

To help you get started, we’ve selected a few @arch-ui/modal-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github keystonejs / keystone / packages / arch / packages / popout / src / index.js View on Github external
style={style} // style comes from Transition
          >
            
              
                
                {children}
              
            
          ,
          attachTo
        )
      : null;
  }
}

export default withModalHandlers(Popout, { transition: springDown });
github keystonejs / keystone / packages / arch / packages / dropdown / src / index.js View on Github external
>
                  {content}
                
              );
            })}
          
        ,
        attachTo
      );
    } else {
      return null;
    }
  }
}

export default withModalHandlers(Dropdown, { transition: slideDown });

@arch-ui/modal-utils

Modal Utilities as used in @keystonejs Admin UI.

MIT
Latest version published 3 years ago

Package Health Score

60 / 100
Full package analysis

Similar packages